Skip to main content

Associate workloads to selected plan and plan rule

API to associate workloads to selected plan and plan rule

Request Body
  • entities object[]

    Details of entity that will be associated to plan and rule.

  • subclient object
  • id int32
  • name string
  • plan object
  • id int32
  • name string
  • rule object
  • id int32
  • name string
Responses

OK

PUT /v4/plan/rule/entities/associate    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
Body
{
"entities": [
{
"subclient": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"rule": {
"id": 0,
"name": "string"
}
}
]
}
curl -L -X PUT 'https://localhost/webconsole/api/V4/Plan/Rule/Entities/Associate' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entities": [
{
"subclient": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"rule": {
"id": 0,
"name": "string"
}
}
]
}'