Skip to main content

deletePersonalAccessToken

Permanently delete the personal access token from the system

warning

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

deletePersonalAccessToken(
name: String!
): Boolean!

Arguments

deletePersonalAccessToken.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 DeletePersonalAccessToken($name: String!) { deletePersonalAccessToken(name: $name) }",
"variables": {
"name": "My API Token"
}
}'