POST /api/v1/cloud/vaults/{vault_id}/archive
Archives the specified vault. Archived vaults are no longer used for active work but remain queryable.
Path parameters
Headers
No request body is required.
Example request
Example response
HTTP 200 OKResponse field changes
The response is a Vault object with the same fields as Get a vault. After a successful archive:archived_atrecords the archive timeupdated_atis refreshed to the archive operation time
Errors
See Errors for the full error envelope.
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.