メインコンテンツまでスキップ

Delete sub-organization

DELETE 

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

Removes 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_HAS_APPENDED_SUB_ORGS error if attempting to remove a sub-organization that already has appended organizations.

Request

Path Parameters

    id stringrequired

    Required. The unique id of the sub-organization.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Responses

A successful response.

Schema

    object

Loading...