Skip to content

MngRevokeAffiliateApiToken

Revokes a token belonging to the specified affiliate and brand. Requires access_crm and set_customers.

{"command":"MngRevokeAffiliateApiToken","extID":"1","data":{"affiliate_id":42,"brand":"default","token_id":17}}

The server checks ownership and manager brand scope. After a successful response, the token is rejected on its next Affiliate API request. Removing an affiliate or removing its brand access also removes the corresponding API token records.