---
search:
  tags:
    - oauth-clients
    - PATCH
seo:
  description: >-
    Changes a client in place. An omitted field is left as it… Reference for the
    PATCH /v1/oauth-clients/{oauth_client_id} endpoint in the Subako Public API
    API.
sidebar:
  label: Update an OAuth client
  badge: PATCH
title: Update an OAuth client
type: openapi-operation
---
Changes a client in place. An omitted field is left as it stands, including `token_endpoint_auth`: send one only to change the method or rotate the secret. The client keeps its id, so every credential connected through it refreshes with what it holds now. The endpoints and `client_id` cannot change, since the credentials connected through the client present their refresh tokens there: create another client for another provider.

<Operation source="api" id="update-oauth-client" />
