Vaults

Create a vault share

Grant another organization read-only access to this vault. Only the vault owner can create shares. Idempotent: re-sharing to the same org updates the existing share.

post/vault/{id}/shares

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/vault/{id}/shares
  • Auth
    HTTP bearer

Path parameters

idstring required

Vault ID

Request body

target_org_idstring required

The organization ID to grant access to

permission'read'

Permission level (only "read" is supported currently)

expires_atstring date-time nullable

Optional expiration timestamp for the share

Response

Share created or updated successfully

Changes

No recorded changes to this operation across all 54 revisions of this API.