Skip to main content

revokePersonalAccessToken

Revoke an existing personal access token for current user

warning

If you revoke the active token being used by the calling application, all additional API calls will fail until you authenticate with an active token.

revokePersonalAccessToken(
name: String!
): Boolean!

Arguments

revokePersonalAccessToken.name ● String! non-null scalar common

Type

Boolean scalar common

The Boolean scalar type represents true or false.

Code Samples

curl -X POST https://graphql.pointonenav.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "mutation RevokePersonalAccessToken($name: String!) { revokePersonalAccessToken(name: $name) }",
"variables": {
"name": "My API Token"
}
}'