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

# Update OAuth client

`PUT /oauth_clients/{id}`

Update an existing OAuth client

## Path parameters

- `id` string, uuid, required

## Request body

- OAuthClientUpdateRequest
  - `name` string — The name of the OAuth client
  - `allowed_scopes` string[] — List of allowed OAuth scopes
  - `require_pkce` boolean — Whether PKCE (Proof Key for Code Exchange) is required for this client
  - `allowed_grant_types` string[] — List of allowed OAuth grant types
  - `redirect_uris` string[] — List of redirect URIs
  - `logo_uri` string, uri — URL of the client logo
  - `policy_uri` string, uri — URL of the client's privacy policy
  - `tos_uri` string, uri — URL of the client's terms of service

## Response `200`

OAuth client updated successfully

- object
  - `data` OAuthClient
    - `record_type` 'oauth_client', required — Record type identifier
    - `client_id` string, required — OAuth client identifier
    - `name` string, required — Human-readable name for the OAuth client
    - `org_id` string, required — Organization ID that owns this OAuth client
    - `user_id` string, required — User ID that created this OAuth client
    - `allowed_scopes` string[] — List of allowed OAuth scopes
    - `client_type` 'public' | 'confidential', required — OAuth client type
    - `require_pkce` boolean, required — Whether PKCE (Proof Key for Code Exchange) is required for this client
    - `allowed_grant_types` string[] — List of allowed OAuth grant types
    - `redirect_uris` string[] — List of allowed redirect URIs
    - `logo_uri` string, uri, nullable — URL of the client logo
    - `tos_uri` string, uri, nullable — URL of the client's terms of service
    - `policy_uri` string, uri, nullable — URL of the client's privacy policy
    - `client_secret` string, nullable — Client secret (only included when available, for confidential clients)
    - `created_at` string, date-time, required — Timestamp when the client was created
    - `updated_at` string, date-time, required — Timestamp when the client was last updated

## Other responses

- `404` — OAuth client not found
- `422` — Validation error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
