Address SharingGive up access that was granted to me

Give up access that was granted to me

The recipient removes access from THEMSELVES without asking the owner. In iCloud this is "Remove Me": something unnecessary was shared with me, so I remove it from my list.

Works only for a DIRECT grant to me personally. Access obtained through a user group can't be removed this way, since it belongs to the whole group; the response is 409 ACCESS_VIA_GROUP with the group's id and name, so the UI can explain "you have access through the Treasurers group; leave it."

The revoke is soft: the record is kept with revokedAt/revokedById. The owner can grant access again if they wish.

curl -X DELETE "https://policy-engine-rest.ezig.workers.dev/api/v1/vaults/demo_vault/shared-with-me/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "left": true
}
DELETE
/api/v1/vaults/{code}/shared-with-me/{grantId}
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Session token. Mobile/services. The web uses a cookie.

Session token. Mobile/services. The web uses a cookie.
API Key (cookie: session_token)
session_tokenstring
Required

API key (sent in cookie)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Session token. Mobile/services. The web uses a cookie.

path
parameterstring
Required

API Key for authentication. Provide your API key in the cookie.

Path Parameters

codestring
Required

Unique Vault code (slug)

Example:
demo_vault

Responses

leftboolean
Required