organization_id: The Ejento AI organization ID.enforcement_mode: Sets what happens to a user who has reached their limit.is_blocking_enabled: Switches blocking on or off for the whole organization.on_data_unavailable: Sets what happens when current spend cannot be read.alert_percents: Sets the percentages of a limit, from 1 to 100, at which alerts are sent. Omit it to keep the current list, or send [] to clear it.email_admins, email_users: Choose who receives those alerts.curl --location --globoff --request PUT 'https:///metering-service/api/v2/organizations//spend/governance-settings' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"enforcement_mode": "BLOCK_UNTIL_RESET",
"is_blocking_enabled": true,
"on_data_unavailable": "FAIL_OPEN",
"alert_percents": [
1
],
"email_admins": true,
"email_users": true
}'{
"success": true,
"message": "string",
"data": {
"enforcement_mode": "BLOCK_UNTIL_RESET",
"is_blocking_enabled": true,
"on_data_unavailable": "FAIL_OPEN",
"alert_percents": [
0
],
"email_admins": true,
"email_users": true
}
}