ServicesAuthenticationHTTP APIConnected applications

Disconnect an application

POST
/api/account/consents/revoke

Withdraw the consent of the signed-in user for a third-party application in every Organization. Use the user access token of a first-party Spiral application. The consent of other users does not change.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
clientId*string
Length1 <= length <= 2048

Response Body

The consent is withdrawn. The body is an empty JSON object.

application/json
  1. response
curl -X POST 'https://auth.spiraldb.com/api/account/consents/revoke' \  -H 'Content-Type: application/json' \  -d '{  "clientId": "string"}'
{}