List all cross-org shares for a vault. Only the vault owner can list shares.
curl --request GET \
--url https://api.case.dev/vault/{id}/shares \
--header 'Authorization: Bearer <token>'{
"shares": [
{
"id": "<string>",
"vault_id": "<string>",
"target_org_id": "<string>",
"permission": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?
curl --request GET \
--url https://api.case.dev/vault/{id}/shares \
--header 'Authorization: Bearer <token>'{
"shares": [
{
"id": "<string>",
"vault_id": "<string>",
"target_org_id": "<string>",
"permission": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}