---
title: "Update service"
method: PUT
path: "/api/{workspaceId}/config/service/{id}"
tags: ["Services"]
---

# Update service

`PUT /api/{workspaceId}/config/service/{id}`

## Request

- Base URL: `https://use.jitsu.com`
- URL: `https://use.jitsu.com/api/{workspaceId}/config/service/{id}`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` string, required
- `id` string, required

## Request body

- ServiceConfig: An external service polled by a connector (Airbyte protocol). The `package` and `version` reference a connector image.
  - `id` string, required
  - `type` string, required
  - `workspaceId` string, required
  - `name` string, required
  - `updatedAt` string, nullable
  - `cloneId` string
  - `protocol` 'airbyte'
  - `authorized` boolean
  - `package` string, required
  - `version` string, required
  - `credentials` object, required
  - `testConnectionError` string

## Response `200`

OK

- unknown

## Other responses

- `400`: Bad request
- `401`: Authorization required
- `403`: Forbidden — no access to this workspace, or the workspace's plan does not include this feature
- `500`: Internal server error

---

[API](https://skmtc.dev/jitsu/apis/jitsu-api.md) - [All operations](https://skmtc.dev/jitsu/apis/jitsu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jitsu/apis/jitsu-api/revisions/f6b8702d246f?raw)
