Skip to content

Product documentation

SandboxShareLink

The SandboxShareLink resource.

SandboxShareLink

The SandboxShareLink resource.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/login-experience/share-linksSandbox Share Link Listtenant:idp.read
POST/api/v1/login-experience/share-linksSandbox Share Link Createtenant:idp.write
DELETE/api/v1/login-experience/share-links/{token}Sandbox Share Link Revoketenant:idp.write

Operation details

Sandbox Share Link List

  • Operation ID: sandboxShareLinkList
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200The caller tenant's currently-live share links (standard collection envelope).ShareLinkListResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

POST /api/v1/login-experience/share-links

Sandbox Share Link Create

  • Operation ID: sandboxShareLinkCreate
  • Required scopes: tenant:idp.write

Request body: application/json → CreateShareLinkRequest

Responses:

StatusDescriptionBody
201The share link was minted; its token, shareable URL, and lifetime are returned once.ShareLinkResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

DELETE /api/v1/login-experience/share-links/{token}

Sandbox Share Link Revoke

  • Operation ID: sandboxShareLinkRevoke
  • Required scopes: tenant:idp.write

Parameters:

NameInRequiredTypeDescription
tokenpathyesstring

Responses:

StatusDescriptionBody
204The share link was revoked; no content.—
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)
404No such share link for the caller's tenant (errorCode: share_link_not_found).Problem (problem+json)