Create policy

View as Markdown

Create a new policy (10-policies.md endpoint 2).

Request

Policy to create
configmap from strings to anyOptional
enabledbooleanOptional
namestringOptional
priorityintegerOptional
typestringOptional

Response

Created
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
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error