Skip to content

Issue or replace one pending rotation candidate

POST/v1/access/keys/rotate

Authorization

agentKey
AuthorizationBearer <token>

In: header

Request Body

application/json

Response Body

application/json

curl -X POST "https://example.com/v1/access/keys/rotate" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"
  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "key": "string",
  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
  "predecessorId": "e74099b1-1b66-490d-a7d6-5f9744862d79"
}