Skip to main content
POST
/
jwt
/
revoke
Revoke a JWT token
curl --request POST \
  --url https://api.firma.dev/functions/v1/signing-request-api/jwt/revoke \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "jwt_id": "123e4567-e89b-12d3-a456-426614174000"
}'
{
"message": "JWT revoked successfully",
"jwt_id": "123e4567-e89b-12d3-a456-426614174000",
"revoked_at": "2024-03-20T16:45:00Z"
}

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Body

application/json
jwt_id
string<uuid>
required

ID of the JWT token to revoke

Response

JWT revoked successfully

message
string

Confirmation message

jwt_id
string<uuid>

ID of the revoked JWT

revoked_at
string<date-time>

Timestamp when the JWT was revoked

I