Skip to main content

Switch owner in sub-organization

POST 

/bv/org/v1/sub-orgs/:id:switch-owner

Switches the owner of a specific sub-organization within the main organization using the provided access token.


Required field(s):

  • id

  • Returns a 404/NotFound error if the requested resource is not found.
  • Returns a 400/BadRequest error if the request body is invalid.
  • Returns a 400/BadRequest with ERROR_REASON_EXISTS error if the new owner is already set.
  • Returns a 400/BadRequest with ERROR_REASON_USER_NOT_IN_ORG error if the new owner is not a member of the organization.

Request

Responses

A successful response.