---
title: "PATCH /servicenetworks/{serviceNetworkIdentifier}"
method: PATCH
path: "/servicenetworks/{serviceNetworkIdentifier}"
---

# PATCH /servicenetworks/{serviceNetworkIdentifier}

`PATCH /servicenetworks/{serviceNetworkIdentifier}`

Updates the specified service network.

## Path parameters

- `serviceNetworkIdentifier` string, required

## Request body

- object
  - `authType` 'NONE' | 'AWS_IAM', required — <p>The type of IAM policy.</p> <ul> <li> <p> <code>NONE</code>: The resource does not use an IAM policy. This is the default.</p> </li> <li> <p> <code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p> </li> </ul>

## Response `200`

Success

- UpdateServiceNetworkResponse
  - `id` string — The ID of the service network.
  - `name` string — The name of the service network.
  - `arn` string — The Amazon Resource Name (ARN) of the service network.
  - `authType` 'NONE' | 'AWS_IAM' — The type of IAM policy.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ConflictException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/vpc-lattice.md) · [All operations](https://skmtc.net/aws/apis/vpc-lattice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/vpc-lattice/versions/bbec5439e0f7/schema)
