Revoke a third-party OAuth application's access to your Vultr account, invalidating its access and refresh tokens immediately, using the Vultr REST API.
Revoking access removes a third-party OAuth application's permission to act on your Vultr account. Revocation tears down the role, trust, and policy snapshots that backed the grant, and invalidates every outstanding token the application holds, so its next API call fails immediately.
Follow this guide to revoke access for an authorized OAuth application using the Vultr Console and the Vultr API.
Revoke an application you authorized from your user account. This affects only your own access.
Log in to the Vultr Console.
Click your name in the top navigation bar, then click Manage User.
Click Authorized OAuth Applications.
Find the application in the list, then click the delete icon in its row.
In the confirmation dialog, click Revoke.
The application is removed from the list, and its access stops working immediately.
Send a GET request to the List Your Authorizations endpoint to find the authorization id.
$ curl "https://api.vultr.com/v2/oauth/authorizations" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
The response contains an authorizations array. Note the id of the authorization you want to revoke. This is the authorization id, not the application's client_id.
Send a DELETE request to the Revoke Authorization endpoint to revoke access. Replace {authorization-id} with the id from the previous step.
$ curl "https://api.vultr.com/v2/oauth/authorizations/{authorization-id}" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
A successful deletion returns an HTTP 204 No Content response with no response body. The application's access tokens stop working immediately, and any refresh token it holds is revoked. If you authorize the same application again later, Vultr issues a fresh grant.