Universal App Token

Revoke Universal App Token (by id / name / token)

Revokes one UAT for the app. Supply exactly one of id, name, or token (raw JWT value).

post/partner/app/{appId}/token/revoke

Request

  • Base URL
    https://partner.gupshup.io
  • URL
    https://partner.gupshup.io/partner/app/{appId}/token/revoke
  • Auth
    API key in header Authorization

Path parameters

appIdstring uuid required
Example:6f2c9e1a-1b2c-3d4e-5f60-7a8b9c0d1e2f

App ID. Must be linked to the caller's partner.

Request body application/x-www-form-urlencoded

OR
OR

Example request

{
  "id": "6f2c9e1a-...",
  "name": "webhook-service",
  "token": "eyJhbGciOiJSUzI1NiJ9..."
}

Response

Successful response

statusstring
scope'id' | 'name' | 'jti'

Which input was used to resolve the token.

Example response

{
  "status": "success",
  "scope": "id"
}

Changes

No recorded changes to this operation across all 1 revision of this API.