cURL
curl --request DELETE \ --url https://api.opal.dev/v1/tokens/{token_id} \ --header 'Authorization: Bearer <token>'
Deletes a first-party API token. Admins can delete any token. Non-admins can only delete their own tokens when the organization allows all users to create API tokens.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the token to delete.
The token was successfully deleted.
Was this page helpful?