Skip to main content

Endpoint to update status of tenant/company workload

Select

SaaS
Customer Managed

API to update tenant/company workload status

Path Parameters
  • companyGUID string required
Request Body

Workloads and status to be updated

  • workloads object[]

    List of workload id and type to update

  • workloadId int32

    workloadId to update

  • usageType string

    Possible values: [WORKLOAD, PHYSICAL, VIRTUAL]

    Default value: NONE

Responses

OK


Schema
  • errorMessage string
  • errorCode int32
POST /company/:companyguid/workload/action/delete    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
companyGUID — path required
Body
{
"workloads": [
{
"workloadId": 0,
"usageType": "NONE"
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Company/:companyGUID/Workload/Action/Delete' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"workloads": [
{
"workloadId": 0,
"usageType": "NONE"
}
]
}'