Vaults
Delete a vault and its credentials
DELETE
managementKeyheader
AuthorizationBearer <token>A management key of the Tenant (role management): it reaches the Management API (/v1/tenant/*) and /v1/me, as itself, never for a subject. Issued only on the Tenant's machine (nylorun-operate keys put <id> --role management) or from NYLORUN_MANAGEMENT_KEY_FILE. Never accepted from a browser (Origin).
vaultId*stringNylorun-Protocol*stringThe protocol version, 8
Deleted
application/json- response
id*stringimport { createAdmin } from "@nylorun/admin";const admin = createAdmin();await admin.vaults.delete("vlt_123");{ "id": "string"}