Skip to content

Revoke plugin OAuth credentials

POST
/api/v1/plugin-system/oauth/revoke
curl --request POST \
--url https://example.com/api/v1/plugin-system/oauth/revoke \
--header 'Content-Type: application/json' \
--data '{ "instanceId": "example", "authContext": "example" }'

Revokes OAuth credentials stored for a plugin instance.

Media typeapplication/json
object
instanceId
required
string
authContext
string
Examplegenerated
{
"instanceId": "example",
"authContext": "example"
}

OAuth credentials revoked

Media typeapplication/json
object
ok
boolean
Examplegenerated
{
"ok": true
}

Bad Request

Unauthorized

Internal Server Error