Skip to main content

Migrate client/client group

Select

SaaS
Customer Managed

This operation will move the client/clientgroup to a company. It can also add a client (that is not part of any company) to a company.

Path Parameters
  • companyId string required
Header Parameters
  • Accept string required
Request Body required
  • entities object[]
  • clientId integer
  • _type_ string
  • clientGroupId integer
Responses

OK


Schema
  • errorMessage string
  • errorCode integer
PUT /company/:companyid/company-association    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
companyId — path required
Accept — header required
Body required

{
"entities": [
{
"clientId": 0,
"_type_": "string",
"clientGroupId": 0
}
]
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/company/:companyId/company-association' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entities": [
{
"clientId": 0,
"_type_": "string",
"clientGroupId": 0
}
]
}'