v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBCreate Workspace Public Key
Create a new public key for this workspace. Public keys can be safely distributed to client SDKs.
post/v1/{workspace}/ws_public_key/
Path parameters
workspacestring required
Workspace slug (e.g. staging, production).
Request body
Example request
{
"name": "web-app"
}Response
Public key created.
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"
}
}