Get policy by ID

以 Markdown 格式查看

Get a single policy by ID (10-policies.md endpoint 3).

路径参数

idstring必需
Policy UUID

响应

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

错误

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error