Management APIAPI keys
Revoke a user's API key
At once: its API's next check of it answers `active: false`. Needs `org.users.edit`. Recorded as `user.api_key_revoked`.
DELETE
/v1/orgs/{org}/brands/{brand}/users/{user}/api-keys/{key}At once: its API's next check of it answers active: false. Needs org.users.edit. Recorded as user.api_key_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
key*string
Length
length <= 100Response 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/api-keys/string"Empty