Skip to navigation

Create a policy on one agent

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Deployment ID

Request

This endpoint expects an object.
documentmap from strings to anyOptional
enabledbooleanOptional

Response

Created
created_atstringOptional
disabled_reasonstringOptional
documentanyOptional
enabledbooleanOptional
entitystringOptional
idstringOptional
namestringOptional
scopestringOptional
scope_idstringOptional
scope_namestringOptional
updated_atstringOptional
versionintegerOptional

Errors

400
Bad Request Error