router_interface_forbidden
HTTP 409 Router interfaces are managed through networks
What happened
You tried to add, change, or remove a network interface on a router. The platform creates a router's interfaces itself when a network is attached, and configures address distribution, translation and DNS on them at the same time.
What to do
Attach or detach the network instead: PUT /v1/networks/{id}/router and DELETE /v1/networks/{id}/router. An interface added or removed directly would leave the router and the network describing different things, and you could not repair that through the API.
Retrying
Repeating this request will not help.
How it arrives
{
"type": "https://docs.fiberax.com/errors/router_interface_forbidden",
"title": "Router interfaces are managed through networks",
"status": 409,
"code": "router_interface_forbidden",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.