Update Or Create Policy

Update Or Create Policy

Update or create a Policy.

Request
URI
PUT
https://{api_host}/advanced-designer-service/api/policies/{id}
COPY
Path Parameters
string
id
Required

The id of a policy.


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

properties
Optional

properties

Responses
200

'Success' with Policy object that is updated

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

properties
Optional

properties


201

'Created' with Policy object that is created

Operation doesn't return any data structure