Update Access Policy
Update the access policy
Request
URI
PUT
https://{api_host}/api/v2/accesspolicy
COPY
Request Body
Example Body:
{
"policyRules": [{
"name": "rule name",
"description": "desc",
"action": "ALLOW",
"subnet": "12.148.72.0/23"
}]
}
AccessPolicy
of type(s)
application/json
Optional
{
"lastUpdatedMs": 0,
"policyRules": [
{
"name": "string",
"description": "string",
"subnet": "string",
"action": "string"
}
],
"customer": "string"
}
integer As int64
As int64
lastUpdatedMs
Optional
lastUpdatedMs
string
customer
Optional
customer
Responses
200
successful operation
Returns
ResponseContainerAccessPolicy
of type(s)
application/json
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"lastUpdatedMs": 0,
"policyRules": [
{
"name": "string",
"description": "string",
"subnet": "string",
"action": "string"
}
],
"customer": "string"
}
}