Skip to main content
DELETE
Take an item away from a vault
Takes a signed-in session only. A managing key is refused with 403. See Editions for what OneCLI Cloud adds. The vault loses the item, with the permissions set there. While the item is open to all vaults the vault keeps it. For an admin or the owner, signed in and not using a key.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The item's id.

Required string length: 1 - 64
vaultId
string
required

The vault's id.

Required string length: 1 - 64

Response

Taken away, or the vault was not picked for it.