Updates vault metadata such as the vault name, discoverability, or data classification.
PATCH /api/v1/machine/vault/:id/updatedirectoryCheckpoint or summaryCheckpoint fields.name, discoverable, and dataClassification fields are metadata. They are not end-to-end encrypted.PATCH /api/v1/machine/vault-item/:id/update.| Header | Type | Required | Description |
|---|---|---|---|
X-API-Key | string | Yes | Your machine API key |
Content-Type | string | Yes | Must be application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the vault to update |
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Optional new vault name, max 255 characters |
discoverable | boolean | No | Whether the vault can appear in discovery/request-access flows |
dataClassification | string | null | No | Optional classification: PUBLIC, INTERNAL, CONFIDENTIAL, or CUI |
Success (200 OK)
No response body is returned on success.
machine.vault.write plus ADMIN access to the target vault.curl -X PATCH "https://r4.dev/api/v1/machine/vault/507f1f77bcf86cd799439011/update" \
-H "X-API-Key: rk_abc123def456.ghijklmnopqrstuvwxyz" \
-H "Content-Type: application/json" \
-d '{
"name": "Production Secrets",
"discoverable": true,
"dataClassification": "CONFIDENTIAL"
}'