---
title: "PATCH /clients/{clientID}"
method: PATCH
path: "/clients/{clientID}"
tags: ["client"]
---

# PATCH /clients/{clientID}

`PATCH /clients/{clientID}`

指定したクライアントIDのクライアントの情報を変更します。

## Request body

- PatchClient
  - `name` string — クライアント名
  - `description` string — 説明
  - `redirectUri` string, uri — リダイレクト先のURI

## Response `204`

正常に変更できました。

## Other responses

- `403` — 変更できませんでした。権限がありません。
- `404` — 変更できませんでした。指定されたクライアントは存在しません。

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `patchClient` was added
- **2019-07-22** `d2f7470b1a57` — 1 breaking, 1 warning
  - the `name` request property's minLength was increased from `0` to `1`
  - the `name` request property's maxLength was set to `32`
- **2019-07-05** `6956f2622a20` — 8 info
  - api operation id `patchClient` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added optional request body
  - …4 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/clients/:clientID/patch.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/78d32137c921/schema)
