---
title: "Update client"
method: PATCH
path: "/v2/clients/{id}"
tags: ["Clients"]
---

# Update client

`PATCH /v2/clients/{id}`

Update an existing OAuth2 client.

**Required OAuth scope:** `clients:write`

## Path parameters

- `id` string, required

## Request body

- ClientUpdateRequest — Request body for updating an existing API client.
  - `name` string, nullable
  - `description` string, nullable
  - `scope_codenames` string[], nullable
  - `scope_preset` string, nullable
  - `ip_allowlist` string[], nullable

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

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