Create Placement policy for A tenant.
This method will persist the selected placement policy for a tenant.
Request
URI
POST
https://{api_host}/placement-service/api/placementpolicy
COPY
Request Body
PlacementPolicy
of type(s)
application/json
Optional
Show optional properties
{
"tenantId": "string"
}
{
"advancedPlacementSelected": false,
"fatalErrorForNoRecommendation": false,
"tenantId": "string"
}
Responses
200
Success.
Operation doesn't return any data structure
400
Invalid request - bad data.
Operation doesn't return any data structure
403
Forbidden.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"tenantId:"string"}' https://{api_host}/placement-service/api/placementpolicy