Create Policy
Create a Policy.
Request
URI
POST
https://{api_host}/advanced-designer-service/api/policies
COPY
Request Body
policyDefinition of type(s) application/json
Optional
{
"hrid": "string",
"tenantId": "string",
"description": "string",
"id": "string",
"properties": {
"entries": [
{
"key": "string"
}
]
}
}
string As ^\w+$
hrid
Optional
hrid
string
tenantId
Optional
tenantId
string
description
Optional
description
string As uuid As uuid
id
Optional
id
Responses
201
'Created' with Policy object that is created
Returns policyDefinition of type(s) */*
{
"hrid": "string",
"tenantId": "string",
"description": "string",
"id": "string",
"properties": {
"entries": [
{
"key": "string"
}
]
}
}
string As ^\w+$
hrid
Optional
hrid
string
tenantId
Optional
tenantId
string
description
Optional
description
string As uuid As uuid
id
Optional
id