Update an OAuth client

Updates an OAuth client. Only the fields provided in the request body are updated.
A provided resources list replaces the client's stored list. The client type cannot be changed.

Path Params
string
required
^[a-z0-9-]{1,60}$

The Neon project ID

string
required
^[a-z0-9-]{1,60}$

The Neon branch ID

string
required
length ≤ 64
^[A-Za-z0-9]+$

The OAuth client ID

Body Params

At least one field must be provided.

string
length between 1 and 100

Display name of the client.

redirect_uris
array of strings
length ≤ 10

Redirect URIs the client may use. When provided, replaces the stored list.

redirect_uris
boolean

Whether the client is disabled.

resources
array of strings
length ≤ 11

Identifiers of the protected resources to link the client to. When provided, replaces the stored list.

resources
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json