GuideLab API

Transfer organization ownership

Atomically promotes the selected member to owner and demotes the current owner to admin. Only the current owner may transfer ownership.

POST
/team/members/{id}/transfer-ownership

Atomically promotes the selected member to owner and demotes the current owner to admin. Only the current owner may transfer ownership.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string

Member ID

Response Body

application/json

curl -X POST "https://example.com/team/members/550e8400-e29b-41d4-a716-446655440000/transfer-ownership"
{  "ownerMemberId": "string",  "previousOwnerMemberId": "string"}
Empty
Empty
Empty
Empty