Rotate API key
Auth
Rotate key
Generates a new API key and revokes the current one. The new key is returned exactly once. The old key stops working immediately.
POST
Rotate API key
Documentation Index
Fetch the complete documentation index at: https://docs.trydocent.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key in the format dk_live_.... Pass as Authorization: Bearer dk_live_...
Body
application/json
Optional new label for the key
Maximum string length:
64Response
200 - application/json
New API key
Your new API key. The old key is now revoked.
Example:
"dk_live_f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3"