Skip to main content
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 OK

Response field changes

The response is a Vault object with the same fields as Get a vault. After a successful archive:
  • archived_at records the archive time
  • updated_at is refreshed to the archive operation time

Errors

See Errors for the full error envelope.

Authenticate with vaults

Store and inject secrets safely into agent sessions.