---
title: "PatchTransitGatewayRequest"
url: "https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-2/versions/b826cacf-03b8-4340-bb4e-daa3648a655b/schemas/PatchTransitGatewayRequest"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-2/versions/b826cacf-03b8-4340-bb4e-daa3648a655b.md

# PatchTransitGatewayRequest

Request schema for updating a transit gateway.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Cloud Gateways
  version: 2.0.0
servers:
  - url: https://global.api.konghq.com/v2
    description: Base URL for the global region
components:
  schemas:
    PatchAwsResourceEndpointGateway:
      description: Request schema for updating AWS Resource Endpoint.
      properties:
        transit_gateway_attachment_config:
          type: object
          additionalProperties: false
          properties:
            kind:
              enum:
                - aws-resource-endpoint-attachment
              title: AWS Resource Endpoint Attachment Type
            resource_config:
              $ref: "#/components/schemas/AwsResourceEndpointConfig"
          required:
            - kind
            - resource_config
      required:
        - transit_gateway_attachment_config
    PatchAwsTransitGateway:
      description: Request schema for updating AWS Transit Gateway
      properties:
        cidr_blocks:
          $ref: "#/components/schemas/TransitGatewayCIDRBlocks"
      required:
        - cidr_blocks
    AwsResourceEndpointConfig:
      description: |
        List of unique resource config mapping for aws resource endpoint.
      type: array
      items:
        type: object
        additionalProperties: false
        properties:
          resource_config_id:
            description: Resource Config ID to uniquely identify a resource configuration.
            type: string
            title: Resource Config ID
          domain_name:
            description: Domain Name to uniquely identify a resource configuration.
            type: string
            title: Domain Name
        required:
          - resource_config_id
          - domain_name
      title: AWS Resource Endpoint Config
    TransitGatewayCIDRBlocks:
      description: >
        CIDR blocks for constructing a route table for the transit gateway, when
        attaching to the owning

        network.
      type: array
      items:
        type: string
      example:
        - 10.0.0.0/8
        - 100.64.0.0/10
        - 172.16.0.0/12
      title: Transit Gateway CIDR Blocks
    PatchTransitGatewayRequest:
      description: Request schema for updating a transit gateway.
      type: object
      oneOf:
        - $ref: "#/components/schemas/PatchAwsResourceEndpointGateway"
        - $ref: "#/components/schemas/PatchAwsTransitGateway"
      title: PatchTransitGatewayRequest
```
