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
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idinteger required
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"revoked": true
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.