budgetManagement
Update budget
Changed onUpdate budget
put/v1/budgets/{budgetId}
Request
- Base URLhttps://api.au.sumologic.com/api
- URLhttps://api.au.sumologic.com/api/v1/budgets/{budgetId}
- AuthHTTP basic
Path parameters
budgetIdstring required
The id of the budget.
Request body
Example request
{
"unit": "GB",
"budgetType": "ScanBudget",
"scope": {
"includedUsers": [
"00000000000001DF",
"00000000000002D2"
],
"excludedUsers": [
"00000000000001DF",
"00000000000002D2"
],
"includedRoles": [
"00000000000001DF",
"00000000000002D2"
],
"excludedRoles": [
"00000000000001DF",
"00000000000002D2"
]
},
"window": "Query",
"applicableOn": "PerEntity",
"groupBy": "User",
"action": "Warn",
"callerModules": [
"api",
"mcp"
],
"status": "active"
}Response
The updated budget.
Example response
{
"unit": "GB",
"budgetType": "ScanBudget",
"scope": {
"includedUsers": [
"00000000000001DF",
"00000000000002D2"
],
"excludedUsers": [
"00000000000001DF",
"00000000000002D2"
],
"includedRoles": [
"00000000000001DF",
"00000000000002D2"
],
"excludedRoles": [
"00000000000001DF",
"00000000000002D2"
]
},
"window": "Query",
"applicableOn": "PerEntity",
"groupBy": "User",
"action": "Warn",
"callerModules": [
"api",
"mcp"
],
"status": "active",
"resetTime": "23:30",
"resetTimeZone": "America/Los_Angeles"
}Changes
- warning
changed the pattern of the request property
from^(StopForeGroundScan|Warn)$to^(StopScan|StopForeGroundScan|Warn)$ - info
added the new optional request property
- info
added the optional property
////to the response with the status - info
the
////response's property pattern was changed from^(StopForeGroundScan|Warn)$to^(StopScan|StopForeGroundScan|Warn)$for the status
- warning