Associate workloads to selected plan and plan rule
API to associate workloads to selected plan and plan rule
- application/json
Request Body
entities object[]
Responses
- 200
- 500
OK
Internal Server Error in case of any failure
PUT /v4/plan/rule/entities/associate
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
}
]
}'
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"
}
}
]
}'
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"
}
}
]
}'
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"
}
}
]
}'
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"
}
}
]
}'
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"
}
}
]
}'
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"
}
}
]
}'