---
title: "Update Service"
method: PUT
path: "/api/v1/services/"
tags: ["services"]
---

# Update Service

`PUT /api/v1/services/`

Update an existing service.

## Request body

- ServiceUpdateRequest — Request model to update an existing service.
  - `name` string, required — The name of the service
  - `description` string, required — The description of the service
  - `auth_type` 'basic' | 'bearer' | 'custom_headers' | 'oauth2'
  - `auth_values` unknown
  - `id` integer, required — The internal ID of the service
  - `last_updated_comments` string, nullable — Free text providing comment about what was updated

## Response `200`

Successful Response

- ServiceResponse — Response model for service operations. A service is a collection of tools.
  - `id` integer, required — The internal ID of the service
  - `name` string, required — The name of the service
  - `description` string, required — The description of the service
  - `auth_type` 'basic' | 'bearer' | 'custom_headers' | 'oauth2'
  - `auth_value_keys` string[], nullable — Auth value keys (values omitted for security)
  - `last_updated_comments` string, nullable — Free text providing comment about what was updated
  - `last_updated` string, date-time, required — The timestamp of the most recent update to the service
  - `last_updated_by` string, required — The email of the user who last updated the service
  - `tools` string[], required — Names of tools that belong to the service

## Other responses

- `422` — Validation Error

---

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