allowed=false / action=BLOCK in the body, never as a 4xx/5xx. WARN is allowed=true: the user has reached their limit, but the organization only warns, so they may proceed. A user who has not reached any limit is allowed. The check does not confirm that the organization or the user exists.user_message is a sentence for the end user describing the decision, or null when there is nothing to report.curl --location --globoff 'https:///metering-service/api/v2/organizations//spend/users//enforcement' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '{
"success": true,
"message": "Enforcement check evaluated",
"data": {
"allowed": true,
"action": "WARN",
"reason": "USER_LIMIT",
"billing_period": "2026-10",
"resets_at": "2026-11-01T00:00:00Z",
"user_message": "You've reached your monthly usage limit. You can keep working for now."
}
}