v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBRotate Workspace Public Key
Rotate public key material while keeping the same logical key record. Clients using the old material must switch to the new value.
patch/v1/{workspace}/ws_public_key/{public_key_id}/rotate/
Path parameters
workspacestring required
Workspace slug (e.g. staging, production).
public_key_idstring required
Public key identifier (e.g. ws_pubk_...).
Response
Public key rotation accepted.
Example response
{
"id": "ws_pubk_exampleId01",
"api_key": "SS.PUBK.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "web-app",
"created_by": {
"name": "System User",
"email": "user@example.com"
},
"rotated_by": {
"name": "System User",
"email": "user@example.com"
},
"updated_by": {
"name": "System User",
"email": "user@example.com"
}
}