runtime-config

Enable or disable one client-side route (admin)

Changed on
patch/runtime-config/routes/{route}

Request

Path parameters

route'lifi' | 'lifiBridge' required

Request body

enabledboolean required

Whether clients may use this route. false turns it off.

Response

The resulting allow-list

enabledRoutesRuntimeRoute[] required

Client-side routes the client is permitted to use. An allow-list: a route absent from this array is off, and so is every route when this response cannot be read at all.

Example response

{
  "enabledRoutes": [
    "lifi",
    "lifiBridge"
  ]
}

Changes