---
title: "Update network settings (policy and/or collect report)."
method: PUT
path: "/network/{network_id}/update"
tags: ["networks"]
---

# Update network settings (policy and/or collect report).

`PUT /network/{network_id}/update`

Required RBAC Policy: kots/network/[:networkid]/update

## Path parameters

- `network_id` string, required

## Request body

- object
  - `policy` string

## Response `200`

UpdateNetworkResponse contains the response to update a network

- object
  - `error` string
  - `network` Network
    - `assigned_at` string, date-time
    - `collect_report` boolean
    - `created_at` string, date-time
    - `distribution` string
    - `expires_at` string, date-time
    - `guid` string
    - `id` string
    - `last_scheduling_status` string
    - `name` string
    - `policy` string
    - `running_at` string, date-time
    - `status` string
    - `team_id` string
    - `ttl` string
    - `version` string

## Other responses

- `400` — UpdateNetworkErrorResponse contains error information
- `401` — Return if the caller is not authorized
- `403` — Returned if the caller does not have the needed permission
- `404` — Returned on resource not found

---

[API](https://skmtc.net/replicated/apis/vendor-api-v3-2.md) · [All operations](https://skmtc.net/replicated/apis/vendor-api-v3-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/replicated/vendor-api-v3-2/versions/6fcf9e54aba4/schema)
