Synq Docs
Management APIConsents

Withdraw what a user allowed an app

The app's grants and tokens for them end, its refresh tokens included, and each session it was signed in to that registered a `backchannel_logout_uri` gets a logout token; their next sign-in to it asks them again. Needs `org.users.edit`. Recorded as `user.consent_revoked`.

DELETE/v1/orgs/{org}/brands/{brand}/users/{user}/consents/{consent}

The app's grants and tokens for them end, its refresh tokens included, and each session it was signed in to that registered a backchannel_logout_uri gets a logout token; their next sign-in to it asks them again. Needs org.users.edit. Recorded as user.consent_revoked.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string
brand*string
user*string
consent*string
Lengthlength <= 100

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/v1/orgs/string/brands/string/users/string/consents/string"
Empty