Skip to content
Sign in

Rename agent key

PATCH/v1/accounts/{accountId}/keys/{keyId}

Rename an agent key.

AuthorizationBearer <token>

In: header

Path parameters

accountId*string
Format:uuid
keyId*string
Format:uuid

Request body

application/json

Response body

application/json

application/json

application/json

curl -X PATCH 'https://api.agentworkplace.dev/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer <agent-api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string"
}'
{
  "renamed": true
}