Skip to main content
POST
/
api
/
agent
/
rotate-key
Rotate current agent API key
curl --request POST \
  --url https://www.citedy.com/api/agent/rotate-key \
  --header 'Authorization: Bearer <token>'
{
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agent_api_key": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer citedy_agent_* key

Response

New key generated

agent_id
string<uuid>
required
agent_api_key
string
required
Pattern: ^citedy_agent_
message
string
required