Revokes a personal access token
const contentful = require('contentful-management') const client = contentful.createClient({ accessToken: <content_management_api_key> }) client.getPersonalAccessToken('<token-id>') .then((personalAccessToken) => { return personalAccessToken.revoke() }) .catch(console.error)
Object the revoked personal access token
Revokes a personal access token
const contentful = require('contentful-management') const client = contentful.createClient({ accessToken: <content_management_api_key> }) client.getPersonalAccessToken('<token-id>') .then((personalAccessToken) => { return personalAccessToken.revoke() }) .catch(console.error)