POST /api/v1/cloud/vaults/{vault_id}/credentials/{credential_id}/archive
Archives an active credential in the specified Vault. Archived credentials are excluded from credential lists by default, but can be included with include_archived=true.
Path parameters
Headers
Example request
Example response
HTTP 200 OK Returns the archived credential. The response never includesaccess_token.
Response fields
Errors
See Errors for the full error envelope.
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.