Access
PreviewChoose who may hand a personal workspace to someone else
`owner`: only its Owner. `named`: its Owner and the people in the workspace named here. Only a personal workspace has one (409 `organization.not_personal` otherwise).
PUT
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
application/json- body
by*stringValue in
"owner""named"userIds?array<string>The people in the workspace who may offer it, when by is named.
Items
items <= 50The policy as it is now.
application/json- response
personal*booleanby*stringValue in
"owner""named"userIds*array<string>curl -X PUT 'https://wardn.example.com/api/v1/organization/transfer-policy' \ -H 'Content-Type: application/json' \ -d '{ "by": "owner"}'Example Response
{ "personal": true, "by": "owner", "userIds": [ "string" ]}Who may hand the organization to someone else GET
Only a personal workspace has a say: its Owner may name the people in it who may offer it to someone besides themselves. Any other organization answers `personal: false` and only its Owner may offer it.
Members who could be handed the organization GET
The organization's members other than the caller, and whether each could take ownership. A member who owns