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.
cURL
curl --request POST \ --url https://api.case.dev/vault/{id}/shares \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "target_org_id": "<string>", "permission": "read", "expires_at": "2023-11-07T05:31:56Z" } '
API key starting with sk_case_
sk_case_
Vault ID
The organization ID to grant access to
Permission level (only "read" is supported currently)
read
Optional expiration timestamp for the share
Share created or updated successfully
Was this page helpful?
Contact support