Product documentation
SandboxShareLink
The SandboxShareLink resource.
SandboxShareLink
The SandboxShareLink resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/login-experience/share-links | Sandbox Share Link List | tenant:idp.read |
POST | /api/v1/login-experience/share-links | Sandbox Share Link Create | tenant:idp.write |
DELETE | /api/v1/login-experience/share-links/{token} | Sandbox Share Link Revoke | tenant:idp.write |
Operation details
GET /api/v1/login-experience/share-links
Sandbox Share Link List
- Operation ID:
sandboxShareLinkList - Required scopes:
tenant:idp.read
Responses:
| Status | Description | Body |
|---|---|---|
200 | The caller tenant's currently-live share links (standard collection envelope). | ShareLinkListResponse |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — 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:
| Status | Description | Body |
|---|---|---|
201 | The share link was minted; its token, shareable URL, and lifetime are returned once. | ShareLinkResponse |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — 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:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
token | path | yes | string |
Responses:
| Status | Description | Body |
|---|---|---|
204 | The share link was revoked; no content. | — |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |
404 | No such share link for the caller's tenant (errorCode: share_link_not_found). | Problem (problem+json) |