---
title: "Update OAuth client"
method: PUT
path: "/oauth/clients/{id}"
tags: ["OAuth Clients"]
---

# Update OAuth client

`PUT /oauth/clients/{id}`

Updates an existing OAuth client registration

## Path parameters

- `id` integer, required

## Request body

- UpdateOAuthClientRequestDto
  - `name` string, required
  - `redirectUris` string[], required
  - `scopes` string
  - `trusted` boolean
  - `enabled` boolean

## Response `200`

OK

- OAuthClientResponseDto
  - `id` integer
  - `clientId` string
  - `name` string
  - `redirectUris` string[]
  - `scopes` string
  - `trusted` boolean
  - `enabled` boolean
  - `clientType` 'CONFIDENTIAL' | 'PUBLIC'
  - `created` string, date-time
  - `updated` string, date-time

---

[API](https://skmtc.dev/transferz/apis/authentication-api.md) · [All operations](https://skmtc.dev/transferz/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/transferz/authentication-api/revisions/73249fb480f2/schema)
