Auth

Auth Revoke

GET
/auth.revoke

Revokes a token.

Authorization

slackAuth none
AuthorizationBearer <token>

In: header

Scope: none

Query Parameters

token*string

Authentication token. Requires scope: none

test?boolean

Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked.

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/auth.revoke?token=string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "revoked": true}