Update Site Cipher (v2.0)
PUT/v2.0/api/tenants/:tenant_id/sites/:site_id/siteciphers
Update the ciphers for a particular site.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_id stringrequired
ID of the site. More details on the site can be retrieved by querying the sites API.
- application/json
Body
controller_connection_cipher stringrequired
Possible values: [RSA-AES256-GCM-SHA384
, RSA-AES128-GCM-SHA256
]
The ciphers for controller connections.
id string
The ID.
site_id stringrequired
The ID of the site.
tenant_id stringrequired
The tenant ID.
vpn_ciphers string[]required
The ciphers for the vpn connections.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
controller_connection_cipher stringrequired
Possible values: [RSA-AES256-GCM-SHA384
, RSA-AES128-GCM-SHA256
]
The ciphers for controller connections.
id string
The ID.
site_id stringrequired
The ID of the site.
tenant_id stringrequired
The tenant ID.
vpn_ciphers string[]required
The ciphers for the vpn connections.
{
"controller_connection_cipher": "RSA-AES256-GCM-SHA384",
"id": "string",
"site_id": "string",
"tenant_id": "string",
"vpn_ciphers": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
}
]
}
}
Loading...