Skip to main content
POST
/
api
/
v1
/
tokens
/
revoke
Revoke the calling token
curl --request POST \
  --url https://foundry-api-public.adaptyvbio.com/api/v1/tokens/revoke \
  --header 'Authorization: Bearer <token>'
{
  "revoked_at": "2023-11-07T05:31:56Z",
  "token_id": "550e8400-e29b-41d4-a716-446655440000"
}

Authorizations

Authorization
string
header
required

Biscuit-based bearer token. Obtain tokens from the Adaptyv Portal or via the /tokens endpoint. Tokens encode organization membership and role-based capabilities; the API verifies the token's cryptographic signature and authorization claims before processing requests. Use /tokens/attenuate to create restricted tokens for delegation.

Response

Token revoked successfully

Response returned when a token is revoked.

revoked_at
string<date-time>
required

Timestamp when the token was revoked (may be earlier if already revoked).

token_id
string
required

The token_id that was revoked.

Example:

"550e8400-e29b-41d4-a716-446655440000"