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

# Update router config

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

## Request

- Base URL: `https://starlink.com/api`
- URL: `https://starlink.com/api/public/v2/routers/configs/{configId}`
- Auth: HTTP bearer

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.dev/starlink/apis/starlink-management-api.md) - [All operations](https://skmtc.dev/starlink/apis/starlink-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/starlink/apis/starlink-management-api/revisions/dfd7014cfd6d?raw)
