post
https://partner.gupshup.io/partner/bizgate/partner//auth/app-token/revoke-all
Revokes every app token across all of the partner's apps.
Request parameters
Path parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| partnerId | Identifier of the partner account. Must be the partner the token authenticates. | 13824 | Integer | Required |
Body
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| Email of a partner admin of this partner | [email protected] | — | Optional | |
| clientSecret | That admin's client secret | cs_•••••••• | — | Optional |
Sample cURL — Revoke all app tokens (UAT) of every app.
curl --request POST \
--url 'https://partner.gupshup.io/partner/bizgate/partner/13824/auth/app-token/revoke-all' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"email" : "[email protected]",
"clientSecret" : "<CLIENT_SECRET>"
}'Sample success response (200)
{
"status": "success",
"data": {
"appTokensRevoked": 4
}
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…