---
title: "PATCH /services/{serviceIdentifier}"
method: PATCH
path: "/services/{serviceIdentifier}"
---

# PATCH /services/{serviceIdentifier}

`PATCH /services/{serviceIdentifier}`

Updates the specified service.

## Path parameters

- `serviceIdentifier` string, required

## Request body

- object
  - `certificateArn` string — The Amazon Resource Name (ARN) of the certificate.
  - `authType` 'NONE' | 'AWS_IAM' — <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>
  - `idleTimeoutSeconds` integer — The amount of time, in seconds, that a connection can remain idle (no data sent) before VPC Lattice closes it. The valid range is 60 to 600 seconds. If you don't specify a value, the default is 60 seconds. This setting does not change the maximum connection duration of 10 minutes; connections are still closed when they reach that limit.

## Response `200`

Success

- UpdateServiceResponse
  - `id` string — The ID of the service.
  - `arn` string — The Amazon Resource Name (ARN) of the service.
  - `name` string — The name of the service.
  - `customDomainName` string — The custom domain name of the service.
  - `certificateArn` string — The Amazon Resource Name (ARN) of the certificate.
  - `authType` 'NONE' | 'AWS_IAM' — The type of IAM policy.
  - `idleTimeoutSeconds` integer — The amount of time, in seconds, that a connection can remain idle before VPC Lattice closes it.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ConflictException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — ServiceQuotaExceededException
- `486` — 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/revisions/bbec5439e0f7/schema)
