Skip to content
Console
On this page

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

FieldTypeWhat it is
parentstringThe environment that owns the captured handle. Required.
handlestringThe opaque handle to revoke; repeated revocation is harmless. Required. Never returned again.

Response

The call answers with an empty object.

Errors

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":"…"}'