enforcement_mode: states what happens to a user who has reached their limit.is_blocking_enabled: turns enforcement on or off for the whole organization.on_data_unavailable: states what happens when current spend cannot be read at all.alert_percents: the percentages of a limit, from 1 to 100, at which the organization is notified.email_admins / email_users: choose who receives those notifications.enforcement_mode = WARN_ONLY, is_blocking_enabled = true, on_data_unavailable = FAIL_OPEN, and both email toggles on.organization_id: The Ejento AI organization ID.curl --location --globoff 'https:///metering-service/api/v2/organizations//spend/governance-settings' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '{
"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
}
}