sites

Revoke Access Token

Clear the stored bearer token for the current site only. Sibling sites on the same Pressable account keep their token. Account-wide revocation is not exposed by the API; use the Control Panel UI for that.

delete/sites/{site_id}/git/token

Request

Path parameters

site_idinteger required

Response

Successful Response

messagestring
dataobject

Example response

{
  "message": "Success",
  "data": {
    "revoked": true
  }
}

Changes

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