Get a token
Yourclient_secret goes in the request body (client_secret_post); HTTP Basic is not supported.
200 Response
string
Optional. Omit to receive the grant’s full set. If supplied it must be a subset of the granted scopes, or you get
invalid_scope.invalid_grant — what it means here
invalid_grant — what it means here
One of: no grant exists for this client and organization; the grant was revoked; or
THIRD_PARTY_INTEGRATIONS_ENABLED is off for that organization. Run the consent flow for the organization first — Client Credentials never creates a grant.Revoking a grant
Disconnect an organization by revoking the grant. Authenticate with your client credentials and identify the grant bygrant_id (available as a token claim).
cURL
200 with an empty body. The operation is idempotent — revoking an unknown or already-revoked grant also returns 200, so retries are safe.
After revoking, delete the organization id and grant id from your store. Re-connecting requires the full consent flow again.