Rotate Key
Authorizations
Primary scheme: Authorization: Key <key_id>:<secret>.
Path Parameters
The key's public identifier.
Body
Seconds the old secret keeps authenticating after the rotation; omitted means the service default (24h).
x >= 0Response
Successful Response
The key's public identifier — unchanged by rotation.
The new <key_id>:<secret> pair — a valid Bearer credential, shown exactly once, like at create.
Personal keys die with the member; service keys belong to the workspace.
personal, service Human-readable label for the key.
Scopes granted to the key; null means full access (a legacy key predating scopes).
The workspace the key bills and acts in.
ISO-8601 instant the key stops authenticating; null means it never expires.
ISO-8601 instant the previous secret stops authenticating — the end of the grace window.