Saltar al contenido

invitationLinks

Módulo Identity · 4 operaciones

List invitation link rows

GET/invitation-links

An invitation link with a role and an expiry. The token is shown once. Returns a cursor page of invitation link rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create an invitation link

POST/invitation-links

An invitation link with a role and an expiry. The token is shown once. Creates an invitation link. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get an invitation link

GET/invitation-links/{id}

An invitation link with a role and an expiry. The token is shown once. Returns one invitation link with its `ETag`. A invitation link the caller may not see returns 404.

Revoke an invitation link

POST/invitation-links/{id}/revoke

Revokes the link; later uses are refused. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.