Rotate API key
User
Rotate API key
Generate a new secret key while keeping the same key ID
POST
Rotate API key
Documentation Index
Fetch the complete documentation index at: https://docs.bayse.markets/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requiresx-auth-token and x-device-id headers. Obtain these by calling the login endpoint.
Path parameters
The ID of the API key to rotate.
Example request
Response
The same key ID as before.
The key’s label.
The public key — unchanged from before rotation.
A new secret key. Only returned once.
Updated signing instructions.