OAuth Token | Baack docs
OAuth Token
Endpoints
DeleteDELETE/n/v1/oauthtoken/{urn}
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 202
DELETE_SUCCESS
Webhook
POSTyour destination URL
Subject: OAUTH_TOKEN
Webhook for deletion notification for Oauth tokens. The OAuth token endpoint is primarily used for revocation of OAuth tokens for integrations.
As integrations are installed for a user via an OAuth flow, the user who granted the access can always revoke them however this can impact your integration overall. To mitigate that risk and be notified when the user who granted the OAuth access e.g. linking Xero or HubSpot, listen for the OAuth deletion events.
Body: Webhook Event
Your response
- 200
- Return 200 status to indicate that data was received successfully
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) |