Automation

Revoke one project credential

Owner-only revocation bound to one stable Idempotency-Key and exact normalized reason. The credential CAS, durable command receipt, and immutable audit event commit atomically. Remove the value from its host after revocation.

post/v1/project-credentials/{credential_id}/revoke

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/project-credentials/{credential_id}/revoke
  • Auth: HTTP bearer

Path parameters

credential_idstring required

Headers

Idempotency-Keystring required

Stable 8-500 character command key. Preserve it only when replaying the exact same request; use a new key for a distinct command.

Request body

reasonstring required

Response

OK

idstring required
project_idstring required
kind'ci_deploy' | 'automation_runner' required
namestring required
prefixstring required
scopesstring[] required
automation_idstring nullable
created_bystring
created_atinteger required
expires_atinteger required
last_used_atinteger nullable
revoked_atinteger nullable
revoke_reasonstring nullable
activeboolean required
idempotent_replayboolean required
next_actionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.