Create automatic cost allocation rule
1 min
POST
https://app.amberflo.io/business-unit/focus-allocation/automatic/rule
placementstring<p>Execution order position for the new rule. FIRST/LAST for absolute positioning, BEFORE/AFTER for relative positioning with reference ID.</p>
idstring<uuid>Reference rule identifier for relative positioning. Required when using BEFORE or AFTER placement options for sequential rule ordering.
bodyobjectInput model for creating automatic FOCUS allocation rules that assign cloud costs to business units based on resource tags and metadata conditions.
200Successful request
curl --request POST \
--url https://app.amberflo.io/business-unit/focus-allocation/automatic/rule \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"provider": "",
"predicate": {
"type": "value_matrix",
"columns": [],
"rows": [
{
"values": []
}
]
}
}'