API referenceHouseholds
Leave a shared collection
Removes the caller's access to a collection that was shared with them. The owner's copy is untouched. Owners cannot leave their own collection — delete it instead.
Removes the caller's access to a collection that was shared with them. The owner's copy is untouched. Owners cannot leave their own collection — delete it instead.
Authorization
bearerAuth AuthorizationBearer <token>
A Clerk session JWT. Obtain one with a Clerk frontend SDK
(session.getToken()) or, for server-to-server use, with a Clerk
machine token. The token's sub claim is the Flambe user id that scopes
every request.
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/collections/497f6eca-6276-4993-bfeb-53cbbbba6f08/leave"{ "success": true}