Snapvisor Docs

Disconnect an authorized app

Disconnect an app or agent you authorized through OAuth; it loses access until it is connected again. Asks for confirmation once (confirmToken). Use it when the user no longer uses that agent.

DELETE
/me/authorized-apps/{grantId}

Disconnect an app or agent you authorized through OAuth; it loses access until it is connected again. Asks for confirmation once (confirmToken). Use it when the user no longer uses that agent.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

grantId*string

Id of the authorized app (listAuthorizedApps).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/me/authorized-apps/string"
{  "revoked": true}