API Reference
Revoke a token
/open_api/v1.3/oauth2/revoke_token/https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.comUse this endpoint to revoke a long-term access token. The Access-Token header is required (without it: 40104). The response lists the ad accounts the token can no longer reach, and every Subscription API webhook created with that token stops firing.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
Authorized access token, sent in this header (not Authorization: Bearer). Marketing API tokens never expire.
Body
application/jsonID of your developer app.
Secret of your developer app.
The long-term access token that you want to revoke.
Responses
200Response envelope {code, message, request_id, data}. code 0 (message "OK") is success. Validation and business errors also come with HTTP 200 and a non-zero code: check code, not the HTTP status.
Return code. 0 means success; see the return codes appendix for the others.
Return message: OK on success, otherwise the error description.
The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).
Returned data.
Show child attributes
ID of your developer app.
The ID list of ad accounts that the token can no longer access.