---
title: "PUT /api/gateway/config/services/{serviceId}"
method: PUT
path: "/api/gateway/config/services/{serviceId}"
tags: ["API Gateway"]
---

# PUT /api/gateway/config/services/{serviceId}

`PUT /api/gateway/config/services/{serviceId}`

## Path parameters

- `serviceId` string, required

## Request body

- GatewayService
  - `authConfigId` string
  - `basePath` string
  - `corsConfig` CorsConfig
    - `accessControlAllowHeaders` string[]
    - `accessControlAllowMethods` string[]
    - `accessControlAllowOrigin` string[]
  - `createTime` integer
  - `createdBy` string
  - `description` string
  - `docsURL` string
  - `enabled` boolean
  - `environment` string
  - `id` string
  - `mcpEnabled` boolean
  - `name` string
  - `orgId` string
  - `owner` string
  - `path` string
  - `routes` ServiceRoute[]
    - `cacheConfig` CacheConfig
      - `key` string
      - `ttlInSecond` integer
    - `createTime` integer
    - `createdBy` string
    - `description` string
    - `httpMethod` string, required
    - `inputSchema` string
    - `inputSchemaRef` SchemaReference
      - `name` string, required
      - `version` integer, required
    - `inputScript` string
    - `mappedWorkflow` MappedWorkflow
      - `name` string
      - `requestMetadataAsInput` boolean
      - `version` integer
    - `orgId` string
    - `outputSchema` string
    - `outputSchemaRef` SchemaReference
      - `name` string, required
      - `version` integer, required
    - `outputScript` string
    - `path` string, required
    - `queryParameters` QueryParameter[] — unresolved $ref
    - `rateLimitConfig` RateLimitConfig
      - `concurrentExecLimit` integer
      - `policy` 'QUEUE' | 'REJECT'
      - `rateLimitKey` string
    - `serviceId` string
    - `tags` Tag[]
      - `key` string
      - `type` string
      - `value` string
    - `timeoutInSeconds` integer
    - `updateTime` integer
    - `updatedBy` string
    - `waitUntilTasks` string
    - `workflowExecutionMode` 'SYNCHRONOUS' | 'ASYNCHRONOUS'
    - `workflowMetadataInOutput` boolean
  - `tags` Tag[]
    - `key` string
    - `type` string
    - `value` string
  - `updateTime` integer
  - `updatedBy` string

## Response `200`

OK

- object

---

[API](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server.md) · [All operations](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orkescloud/orkes-conductor-api-server/revisions/6ebf0c14ac41/schema)
