跳到主要内容

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/NotFound error if the specified resource is not found.
  • Returns a 400/BadRequest error if required arguments are not provided.
  • Returns a 400/BadRequest with ERROR_REASON_EXISTS if the new_owner_id has already been switched.
  • Returns a 400/BadRequest with ERROR_REASON_USER_NOT_IN_ORG error if the new owner is not a member of the organization.

Request

Body

required
    new_owner_id stringrequired

Responses

A successful response.

Schema

    object

Loading...