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

# Update OAuth client

`PUT /oauth/clients/{id}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/oauth/clients/{id}`
- Auth: HTTP bearer

Updates the specified OAuth client's configuration and returns the updated 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

## Changes

- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/oauth/clients/:id/put.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
