Post Chain Leave
The user leaves the chain. Send { "transactionIds": [...] } to leave only some transactions; with no body they leave all of them. Destructive: see the folder notes.
Required variables:
- baseUrl
- apiKey (needs
chains:write) - userToken
- chainId
Authorization
bearerAuth userTokenAuth Partner API key (lyh_...): identifies the calling partner, its scopes and rate limit.
In: header
The user's OAuth 2.1 access token, issued by Land Your Home's OAuth server to this partner's OAuth client. Requests run as this user.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/chains/string/leave"{ "data": { "transactionIds": [ "b939a7de-a264-4855-b37d-d9721cea8797", "cdcb83f0-2258-43c5-82ab-0f4f58018900" ] }}Get My Address Book
Happy path: the other active people on every chain the user is in, with their role on each transaction. Details a person doesn't share with this user are null.
Delete Chain Link
A link that does not exist, or is not in this chain, returns notfound. The success state (200, { data: { newChainId } }) removes the link; newChainId is the id of the chain that was split off if removing the link disconnected part of it, otherwise null. Needs chainNode.canDelete on either transaction (403 forbidden otherwise).

