Toggle system policy

View as Markdown

Toggle system policy on/off (s1 Monthly Spend Alert, s2 Daily Hard Stop, s3 Rate Cap, etc.). Updates persisted enabled flag.

Path parameters

idstringRequired

System policy id (e.g. pol_s1, pol_s2, pol_s3)

Request

Enabled
enabledbooleanOptional

Response

OK
appliedTolist of strings
comingSoonboolean
configmap from strings to any
createdAtstring
descriptionstring
detailsstring
enabledboolean
idstring
namestring
priorityinteger
readonlyboolean
ruleslist of objects
tierstring
typestring
updatedAtstring

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error