Tokens

Deactivate Personal Access Token

Deactivate (revoke) a personal access token. The token becomes inactive but is retained in the database.

Errors - 404 Not Found: Token does not exist or is not accessible.

delete/tokens/{_id}/

Request

  • Base URL
    https://api.test.osf.io/v2
  • URL
    https://api.test.osf.io/v2/tokens/{_id}/
  • Auth
    none declared

Path parameters

_idstring required

The tokens's unique identifier.

Response

Token successfully deactivated.

Changes

No recorded changes to this operation across all 2 revisions of this API.