Update Ras
Update Secure Access Service by id
Request
URI
PATCH
https://{api_host}/api/ztnad/v1/enterprises/{enterpriseLogicalId}/ras/{logicalId}
COPY
Path Parameters
string
enterpriseLogicalId
Required
Enterprise ID
string
logicalId
Required
Secure Access Service ID
Request Body
updateRasBody of type(s) application/json
Required
{
"name": "sample-service",
"description": "text",
"tags": [
"string"
],
"enterpriseDnsObjectId": "number",
"customerCidr": "192.168.2.1/24",
"numberOfBits": "number",
"cws": {
"enable": false,
"policyId": 1,
"policyName": "text"
},
"popList": [
{
"name": "text",
"logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
"gatewaysList": [
{
"vcoLogicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
"vcoGatewayLogicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c82",
"ipAddress": "192.168.2.1",
"endpointIpAddress": "192.168.2.1",
"name": "text"
}
]
}
]
}
string
name
Required
name
string
description
Optional
description
array of string
tags
Optional
tags
number As float As float
enterpriseDnsObjectId
Required
enterpriseDnsObjectId
string
customerCidr
Required
customerCidr
number As float As float
numberOfBits
Required
numberOfBits
object
cws
Optional
cws
array of object
popList
Optional
popList
Responses
200
Secure Access Service updated
Operation doesn't return any data structure
400
Invalid Input
Returns httpResponseError of type(s) application/json
{
"code": "INVALID_CONFIG",
"errors": [
{
"message": "error message",
"path": "object.path",
"key": "text"
}
]
}
string
code
Required
code
Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_CONFIG, HEALTHCHECK_UNAVAILABLE,
array of object
errors
Required
errors
404
Secure Access Service not found
Returns httpResponseError of type(s) application/json
{
"code": "INVALID_CONFIG",
"errors": [
{
"message": "error message",
"path": "object.path",
"key": "text"
}
]
}
string
code
Required
code
Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_CONFIG, HEALTHCHECK_UNAVAILABLE,
array of object
errors
Required
errors
500
Internal Server Error
Returns httpResponseError of type(s) application/json
{
"code": "INVALID_CONFIG",
"errors": [
{
"message": "error message",
"path": "object.path",
"key": "text"
}
]
}
string
code
Required
code
Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_CONFIG, HEALTHCHECK_UNAVAILABLE,
array of object
errors
Required
errors