Skip to main content
POST
Rotate or recover one runtime-agent credential

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

请求头

Idempotency-Key
string
必填
Required string length: 8 - 256
Pattern: ^[\x21-\x7e]+$

路径参数

id
string
必填

Resource ID

请求体

application/json
expected_credential_generation
integer<int64>
必填

Exact active generation that this request is authorized to replace.

必填范围: x >= 0

响应

Credential rotated or exact rotation replay returned

data
object

Response payload

meta
object