Transfer ownership of the workspace
PUT
/ workspace/ ownerSend Authorization: Bearer <access_token> and X-Workspace-Id.
Body
application/jsonworkspace_user_idstring · uuidRequired
Responses
- 200OK · WorkspaceUserNew owner membership; the previous owner becomes an admin
- 400Bad requestThe target must be an accepted workspace user
- 403ForbiddenOnly the owner can transfer ownership
- 404Not foundWorkspace or workspace user not found
Plus the usual errors: 401.