PATCH
/
v1
/
project
/
tokens
/
{tokenId}
curl --request PATCH \
  --url https://api.poix.io/v1/project/tokens/{tokenId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "revoked"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tokenId
string
required

The token ID in UUID format.

Body

application/json
status
enum<string>
required

The status of the token.

Available options:
active,
revoked

Response

200
application/json
Successful response

The response is of type object.