PUT /encapsulationSettings
Use this method to change the global encapsulation setting during the device management process.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/encapsulationSettings
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description |
---|---|---|---|
encapsulationEnabled | Required | Boolean | Indicates whether encapsulation is enabled during device management. This can be one of the following values.
|
The following example enables encapsulation.
{
"encapsulationEnabled":true
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
403 | Forbidden | The orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback