Skip to content
Sign in

Complete key rotation

POST/v1/access/keys/rotate/complete

Acknowledge the saved candidate and revoke its predecessor.

AuthorizationBearer <token>

In: header

Request body

application/json

Response body

application/json

application/json

application/json

curl -X POST 'https://api.agentworkplace.dev/v1/access/keys/rotate/complete' \
  -H 'Authorization: Bearer <agent-api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"
}'
{
  "completed": true
}