Synq Docs
Account APIAPI keys

Revoke an API key

At once: its API's next check of it answers `active: false`. Needs `me:write`. Recorded as `user.api_key_revoked`.

DELETE/v1/api-keys/{key}

At once: its API's next check of it answers active: false. Needs me:write. Recorded as user.api_key_revoked.

Authorization

bearer
AuthorizationBearer <token>

An access token from this issuer for its account API (resource=<issuer>/me).

In: header

Path Parameters

key*string
Lengthlength <= 100

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/v1/api-keys/string"
Empty