---
title: "Update an operation"
method: POST
path: "/v1/operations/update"
tags: ["operation"]
---

# Update an operation

`POST /v1/operations/update`

## Request body

- OperationUpdate
  - `name` string, required
  - `operationId` string, uuid, required
  - `operatorConfiguration` OperatorConfiguration, required
    - `dbt` OperatorDbt
      - `dbtArguments` string
      - `dockerImage` string
      - `gitRepoBranch` string
      - `gitRepoUrl` string, required
    - `normalization` OperatorNormalization
      - `option` 'basic'
    - `operatorType` 'normalization' | 'dbt' | 'webhook', required
    - `webhook` OperatorWebhook
      - `dbtCloud` object
        - `accountId` integer, required — The account id associated with the job
        - `jobId` integer, required — The job id associated with the job
      - `executionBody` string — DEPRECATED. Populate dbtCloud instead.
      - `executionUrl` string — DEPRECATED. Populate dbtCloud instead.
      - `webhookConfigId` string, uuid — The id of the webhook configs to use from the workspace.
      - `webhookType` 'dbtCloud'

## Response `200`

Successful operation

- OperationRead
  - `name` string, required
  - `operationId` string, uuid, required
  - `operatorConfiguration` OperatorConfiguration, required
    - `dbt` OperatorDbt
      - `dbtArguments` string
      - `dockerImage` string
      - `gitRepoBranch` string
      - `gitRepoUrl` string, required
    - `normalization` OperatorNormalization
      - `option` 'basic'
    - `operatorType` 'normalization' | 'dbt' | 'webhook', required
    - `webhook` OperatorWebhook
      - `dbtCloud` object
        - `accountId` integer, required — The account id associated with the job
        - `jobId` integer, required — The job id associated with the job
      - `executionBody` string — DEPRECATED. Populate dbtCloud instead.
      - `executionUrl` string — DEPRECATED. Populate dbtCloud instead.
      - `webhookConfigId` string, uuid — The id of the webhook configs to use from the workspace.
      - `webhookType` 'dbtCloud'
  - `workspaceId` string, uuid, required

## Other responses

- `422` — Input failed validation

---

[API](https://skmtc.net/airbyte/apis/config.md) · [All operations](https://skmtc.net/airbyte/apis/config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airbyte/config/revisions/ce48e08e02ec/schema)
