Revoke
Disconnect your app from an organization (RFC 7009). Revoking ends the whole connection: its refresh token and every access token issued from it stop working, and it disappears from the organization's Integrations > Connected apps list.
Endpoint
POST https://api.arsel.sa/oauth/revoke
Returns: 200 OK with an empty body
Headers
| Header | Value | Required |
|---|---|---|
Content-Type | application/x-www-form-urlencoded or application/json | Yes |
Request Body
| Parameter | Required | Description |
|---|---|---|
token | Yes | The connection's refresh token or one of its access tokens. |
curl -X POST https://api.arsel.sa/oauth/revoke \
-d token="$REFRESH_TOKEN"
The response is 200 whether or not the token was valid, so a retry is always safe. Other parameters, such as token_type_hint, are ignored.
Rate Limit
600 requests per minute per IP address. Token has its own, separate limit. Above it the endpoint returns 429.