Update router
PATCH/v1/routers/:router_name
Change the fields you send and keep the rest.
target_modelsandprovidersare replaced as a whole: send the full list. Model entries are filled from the catalog as on create.- A provider sent without
api_keykeeps its stored key. modecan't change. Leave it out, or send the router's current mode.- A new
nametakes effect immediately: requests that use the old name fail with 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
The updated router
The router can't be saved as sent. details names each problem.
Unauthorized error
The API key is not valid
None of your routers has this name
Another of your routers has this name