Skip to content

Product documentation

Invitations

The Invitations resource.

Invitations

The Invitations resource.

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

Operations

MethodPathSummaryScopes
GET/api/v1/invitationsInvitations Listtenant:users.read
POST/api/v1/invitationsInvitations Createtenant:users.write
DELETE/api/v1/invitations/{invitationId}Invitations Revoketenant:users.write
POST/api/v1/invitations/{invitationId}/resendInvitations Resendtenant:users.write

Operation details

GET /api/v1/invitations

Invitations List

  • Operation ID: invitationsList
  • Required scopes: tenant:users.read

Parameters:

NameInRequiredTypeDescription
limitquerynointeger
cursorquerynostring

Responses:

StatusDescriptionBody
200OKobject
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/invitations

Invitations Create

  • Operation ID: invitationsCreate
  • Required scopes: tenant:users.write

Request body (required): application/jsonCreateInvitationRequest

Responses:

StatusDescriptionBody
200OKobject
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/invitations/{invitationId}

Invitations Revoke

  • Operation ID: invitationsRevoke
  • Required scopes: tenant:users.write

Parameters:

NameInRequiredTypeDescription
invitationIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
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/invitations/{invitationId}/resend

Invitations Resend

  • Operation ID: invitationsResend
  • Required scopes: tenant:users.write

Parameters:

NameInRequiredTypeDescription
invitationIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
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)