Revoke credential on an agent
Revokes one captured handle.
Revokes one captured handle. Repeating the revocation is harmless.
- Path
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agents:revoke-credential - Scope
agents:sessions - Effect
write— a successful call changes state. - Collection agents
Request
| Field | Type | What it is |
|---|---|---|
parent | string | The environment that owns the captured handle. Required. |
handle | string | The opaque handle to revoke; repeated revocation is harmless. Required. Never returned again. |
Response
The call answers with an empty object.
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.
Every error arrives in the body Errors describes.
Examples
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agents:revoke-credential" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"…"}'