---
title: "PATCH /gateway/{gatewayId}/link/{linkId}"
method: PATCH
path: "/gateway/{gatewayId}/link/{linkId}"
---

# PATCH /gateway/{gatewayId}/link/{linkId}

`PATCH /gateway/{gatewayId}/link/{linkId}`

Updates the configuration of a link between gateways.

Allows you to modify settings and parameters for an existing link.

## Path parameters

- `gatewayId` string, required
- `linkId` string, required

## Request body

- object
  - `logSettings` object — Describes the settings for a link log.
    - `applicationLogs` object — Describes the configuration of a link application log.
      - `sampling` object, required — Describes a link application log sample.
        - `errorLog` number, double, required — An error log entry.
        - `filterLog` number, double, required — A filter log entry.
  - `timeoutInMillis` integer — The timeout value in milliseconds.

## Response `200`

Success

- UpdateLinkResponse
  - `linkId` string, required — The unique identifier of the link.
  - `status` 'PENDING_CREATION' | 'PENDING_REQUEST' | 'REQUESTED' | 'ACCEPTED' | 'ACTIVE' | 'REJECTED' | 'FAILED' | 'PENDING_DELETION' | 'DELETED' | 'PENDING_UPDATE' | 'PENDING_ISOLATION' | 'ISOLATED' | 'PENDING_RESTORATION', required — The status of the request.

## Other responses

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

---

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