Skip to main content
GET
List the vaults an item is shared with
Takes a signed-in session only. A managing key is refused with 403. See Editions for what OneCLI Cloud adds. The vaults picked one by one for this item, most recently shared first. Whether every vault may use it is on the item (sharedWith.allVaults), not in this list. 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

Query Parameters

limit
integer
default:50

How many rows, 1 to 100. Default 50.

Required range: 1 <= x <= 100
cursor
string

The nextCursor of the previous page. Opaque.

Required string length: 1 - 2048
q
string

Keeps the vaults whose name holds this text, in any case.

Required string length: 1 - 100

Response

One page of vaults.

data
object[]
required
nextCursor
string | null
required

Pass as ?cursor= for the next page. null on the last.