Switch owner in organization
POST/bv/org/v1/organizations:switch-owner
Modifies the owner of an organization using the provided access token.
Required field(s):
new_owner_id
- Returns a
404/NotFounderror if the specified resource is not found. - Returns a
400/BadRequesterror if required arguments are not provided. - Returns a
400/BadRequestwithERROR_REASON_EXISTSif thenew_owner_idhas already been switched. - Returns a
400/BadRequestwithERROR_REASON_USER_NOT_IN_ORGerror if the new owner is not a member of the organization.
Request
Responses
- 200
- 400
- 401
- 403
- 500
- default
A successful response.
A unauthenticated response.
The header authorization was missing or unidentified.
A forbidden response.
It means that the provided authorization did not have enough permission to access the resource or the API.
A server error response. There are more HTTP status code mappings listed on here.
An unexpected error response.