Revoke api-token
post
Revokes an API token, effectively invalidating its access privileges.
Once revoked, the token can no longer be used to access protected resources or perform actions on the API.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
brand_idstringRequired
Unique identifier for the brand, provided by the TBB platform.
passwordstringRequired
Password associated with the brand, provided by the TBB platform.
Responses
200
Token successfully revoked.
application/json
401
Unauthorized - Invalid credentials or token
application/json
post
/api/revokePOST /api/revoke HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"brand_id": "hsgfthyescf555JKJJKJH",
"password": "hsgfthyescf555JKJJKJH"
}[]Last updated