Access
PreviewOffer the organization to a member
The offer waits seven days for the member's answer; one offer waits per organization. The Owner confirms by
POST
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
application/json- body
toUserId*stringLength
1 <= lengthconfirmName*stringThe organization's name, typed to confirm.
The offer.
application/json- response
id*stringFormat
uuidfromUserId*stringfromName*stringtoUserId*stringtoName*stringcreatedAt*stringFormat
date-timeexpiresAt*stringFormat
date-timecurl -X POST 'https://wardn.example.com/api/v1/organization/ownership-transfers' \ -H 'Content-Type: application/json' \ -d '{ "toUserId": "string", "confirmName": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromUserId": "string", "fromName": "string", "toUserId": "string", "toName": "string", "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z"}