Skip to navigation

Revoke a publishable key

It stops working at once. Revoking twice is harmless.

Sessions: admins.

Needs the experts:write scope. A key without it gets 403 insufficient_scope. Routes not in this reference cannot be called with a key at all (403 not_available_to_api_keys).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
The expert id.
keyIdstringRequired

The key’s id.

Response

OK
idstring
A UUID.
agentIdstring
A UUID.
keystring

rydhm_pk_live_ followed by 24 letters and digits.

namestring
allowedOriginslist of strings
requireSignedUserboolean

Only signed users (user.id with user.hash) may use it.

createdAtdatetime
revokedAtdatetime or nullOptional
lastUsedAtdatetime or nullOptional

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error