Update Security Policy
Update CWS Security Policy by id
Request
URI
PATCH
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}
COPY
Path Parameters
string
enterpriseLogicalId
Required
Enterprise Logical ID
string
policyId
Required
CWS Security Policy ID
Request Body
Array of
object
of type(s)
application/json
Optional
[
{
"op": "replace",
"path": "/name",
"value": "string"
}
]
Responses
200
CWS Security Policy updated
Operation doesn't return any data structure
400
Invalid Input
Returns
httpResponseError
of type(s)
application/json
{
"code": "error code",
"errors": [
{
"message": "error message",
"path": "object.path"
}
]
}
string
code
Required
code
Possible values are :
INTERNAL_ERROR,
INVALID_PARAMS,
INVALID_QUERY_PARAMS,
INVALID_LICENSE,
array of
object
errors
Required
errors
404
CWS Security Policy not found
Returns
httpResponseError
of type(s)
application/json
{
"code": "error code",
"errors": [
{
"message": "error message",
"path": "object.path"
}
]
}
string
code
Required
code
Possible values are :
INTERNAL_ERROR,
INVALID_PARAMS,
INVALID_QUERY_PARAMS,
INVALID_LICENSE,
array of
object
errors
Required
errors
500
Internal Server Error
Returns
httpResponseError
of type(s)
application/json
{
"code": "error code",
"errors": [
{
"message": "error message",
"path": "object.path"
}
]
}
string
code
Required
code
Possible values are :
INTERNAL_ERROR,
INVALID_PARAMS,
INVALID_QUERY_PARAMS,
INVALID_LICENSE,
array of
object
errors
Required
errors