Update CDN configuration
PUT/api/cdn/config
Partially updates the CDN settings. Only supplied fields are changed; omitted fields keep their current values.
Request
- application/json
Body
required
deviceDeleteAfterDays int64nullable
Days after which a stale row is hard-deleted from the DB.
inactiveDeviceHours int64nullable
Hours of inactivity after which a device is considered stale.
platformManagement string[]nullable
Platform filter list (placeholder — no filtering applied in Phase 1).
Responses
- 200
- 400
- 500
Updated CDN settings
- application/json
- Schema
- Example (from schema)
Schema
deviceDeleteAfterDays int64required
Days after which a stale row is hard-deleted from the DB. Default: 30.
inactiveDeviceHours int64required
Hours of inactivity after which a device is considered stale. Default: 24.
platformManagement string[]required
Platform filter list (stored, not used for filtering in Phase 1).
{
"deviceDeleteAfterDays": 0,
"inactiveDeviceHours": 0,
"platformManagement": [
"string"
]
}
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
name stringrequired
statusCode int32required
{
"message": "string",
"name": "string",
"statusCode": 0
}
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
name stringrequired
statusCode int32required
{
"message": "string",
"name": "string",
"statusCode": 0
}
Loading...