Update DEM Site Config (v2.0)
PUT/v2.0/api/tenants/:tenant_id/sites/:site_id/demsiteconfigs/:config_id
Update the DEM site configurations.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
site_id stringrequired
The ID of the site.
config_id stringrequired
The DEM site config ID.
- application/json
Body
Details of the dem site config to be updated
adem_enabled boolean
The site ADEM enabled. True or False.
id string
The ID.
site_id stringrequired
The site ID.
tenant_id stringrequired
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
adem_enabled boolean
The site ADEM enabled. True or False.
id string
The ID.
site_id stringrequired
The site ID.
tenant_id stringrequired
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
{
"adem_enabled": true,
"id": "string",
"site_id": "string",
"tenant_id": "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": "DEM_SITE_CONFIG_NOT_SUPPORTED_FOR_HUB"
}
]
}
}
Loading...