---
title: "Update router config"
method: PUT
path: "/public/v2/routers/configs/{configId}"
tags: ["Routers"]
---

# Update router config

`PUT /public/v2/routers/configs/{configId}`

Required permission: Device command and configuration, Edit.<br/>Update a given router config. Any router assigned to this config will immediately receive the update if it is online. Otherwise, the router will receive the update when it comes online.

## Path parameters

- `configId` string, required

## Request body

- RouterConfigRequest
  - `nickname` string, nullable — Nickname
  - `routerConfigJson` string, required — Router config json contents

## Response `200`

RouterConfigResponse

- RouterConfigResponseV2ServiceResponse
  - `errors` ValidationResult[], nullable
    - `memberNames` string[], nullable
    - `errorMessage` string, nullable
  - `warnings` ValidationResult[], nullable
    - `memberNames` string[], nullable
    - `errorMessage` string, nullable
  - `information` string[], nullable
  - `isValid` boolean
  - `content` RouterConfigResponseV2
    - `configId` string — Config Id.
    - `nickname` string — Nickname for this config. Must be less than 100 characters.
    - `routerConfigJson` string — Config in JSON format.

## Other responses

- `400` — Bad request. Invalid or missing parameter
- `401` — Unauthorized
- `403` — Missing required permission for this endpoint or resource
- `422` — Failed to update router config

---

[API](https://skmtc.net/starlink/apis/starlink-management-api.md) · [All operations](https://skmtc.net/starlink/apis/starlink-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/starlink/starlink-management-api/revisions/a730bd0ddb42/schema)
