PATCH /accounts/{account_id}/oauth_clients/{oauth_client_id}
Update an existing OAuth client. Only include fields you want to update.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
oauth_client_id |
String | Yes | |
account_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
tos_uri |
String | No |
URL that points to a terms of service document. |
scopes[] |
Array | No |
Array of OAuth scopes the client is allowed to request. Colon-delimited scopes are not accepted. Dot-delimited scopes are validated against available OAuth API scopes; simple identity scopes are allowed. Protocol scopes |
visibility |
String | No |
Promote the OAuth client from private to public visibility. Only Valid values:
|
logo_uri |
String | No |
URL of the client's logo. |
token_endpoint_auth_method |
String | No |
The authentication method the client uses at the token endpoint. Valid values:
|
policy_uri |
String | No |
URL that points to a privacy policy document. |
response_types[] |
Array | No |
Array of OAuth response types the client is allowed to use. |
client_name |
String | No |
Human-readable name of the OAuth client. |
client_uri |
String | No |
URL of the home page of the client. |
grant_types[] |
Array | No |
Array of OAuth grant types the client is allowed to use. |
allowed_cors_origins[] |
Array | No |
Array of allowed CORS origins. |
post_logout_redirect_uris[] |
Array | No |
Array of allowed post-logout redirect URIs. |
redirect_uris[] |
Array | No |
Array of allowed redirect URIs for the client. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.