Skip to main content
POST
Rotate API key

Authentication

Requires x-auth-token and x-device-id headers. Obtain these by calling the login endpoint.

Path parameters

string
required
The ID of the API key to rotate.

Example request

Response

string
The same key ID as before.
string
The key’s label.
string
The public key — unchanged from before rotation.
string
A new secret key. Only returned once.
object
Updated signing instructions.
The old secret key stops working immediately upon rotation. Update all services using this key before rotating.