Skip to main content

Move Instance

PATCH 

/api/v2/admin/business/move-instance

This functionality allows administrators to flexibly manage associations of instances with businesses, allowing for reorganization and reallocation according to business needs.

Request

Body

required
    sourceInstanceId Source Instancerequired
    businessIdTarget Business Targetrequired

Responses

AdminMoveInstanceResponse

Schema
    businessId stringrequired
    name stringrequired
    businessToken stringrequired
    attributes objectrequired
    createdAt date-timerequired
    updatedAt date-timerequired
    deletedAt date-timerequired
    Instance object[]required
  • Array [
  • instanceId stringrequired
    name stringrequired
    state stringrequired

    Default value: active | inactive

    connection stringrequired

    Default value: open | close | refused

    createdAt date-timerequired
    deletedAt date-timerequired
    businessBusinessId stringrequired
    Auth object
    authId stringrequired
    jwt stringrequired
    createdAt date-timerequired
    updatedAt date-timerequired
  • ]
Loading...