Skip to main content
POST
Rotate Agent Credential

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null

Path Parameters

agent_id
string
required

Response

Successful Response

Response from credential rotation.

agent_id
string
required
new_secret
string
required
credential_prefix
string
required
old_credential_revoked
boolean
required