Skip to main content
DELETE
/
v1
/
core
/
oauth
/
apps
/
{clientId}
/
access-token
/
{tokenId}
Revoke an OAuth access token for a given OAuth app.
curl --request DELETE \
  --url https://functions.siro.ai/api-externalApi/v1/core/oauth/apps/{clientId}/access-token/{tokenId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "clientSecret": "<string>",
  "userId": "<string>"
}
'
{
  "tokenId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.siro.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:<organization-api-token>
required

Organization integration token from Siro admin (Person icon → API Tokens). Send Authorization: Bearer . This is not the OAuth access token used with api.siro.ai user-scoped endpoints.

Path Parameters

clientId
string
required
tokenId
string
required

Body

application/json
clientSecret
string
required
userId
string
required

Response

200 - application/json

Revoke an OAuth access token for a given OAuth app.

tokenId
string
required