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
array of
object
policyRules
Optional
policyRules
string
customer
Optional
customer
Responses
200
successful operation
Returns
ResponseContainerAccessPolicy
of type(s)
application/json
"ResponseContainerAccessPolicy Object"
object
status
Required
status
object
response
Optional
Access policy information for customer
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v2/accesspolicy