Disconnect an application
POST
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.
bearerAuthheader
AuthorizationBearer <token>application/json- body
clientId*stringLength
1 <= length <= 2048The consent is withdrawn. The body is an empty JSON object.
application/json- response
curl -X POST 'https://auth.spiraldb.com/api/account/consents/revoke' \ -H 'Content-Type: application/json' \ -d '{ "clientId": "string"}'{}