Version 4.0.26.22 (latest)

### Update an OAuth Application's client secret.

This is an OAuth Application which Looker uses to access external systems.

## Request

PATCH /external_oauth_applications/{client_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... client_id string The client ID of the OAuth App to update body HTTP Body Expand HTTP Body definition... body [ExternalOauthApplication](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ExternalOauthApplication) External OAuth Application Expand ExternalOauthApplication definition... can object Operations the current user is able to perform on this object id string ID of this OAuth Application name string The name of this application. For Snowflake connections, this should be the name of the host database. client_id string The OAuth Client ID for this application client_secret string (Write-Only) The OAuth Client Secret for this application tenant_id string The OAuth Tenant ID for this application dialect_name string The database dialect for this application. provider string The OAuth provider for this application (e.g., 'entra'). Null for standard dialect OAuth. scopes string Space-delimited OAuth scopes to request when authorizing users. Required when provider is 'entra': the Snowflake resource application's scope, e.g. 'api:///session:role-any' (offline_access is added automatically). bi_directional_data_access boolean Whether this application supports bi-directional data access. created_at string Creation time for this application

## Response

### 200: External OAuth Application

Datatype Description (object) [ExternalOauthApplication](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ExternalOauthApplication) can object Operations the current user is able to perform on this object id string ID of this OAuth Application name string The name of this application. For Snowflake connections, this should be the name of the host database. client_id string The OAuth Client ID for this application client_secret string (Write-Only) The OAuth Client Secret for this application tenant_id string The OAuth Tenant ID for this application dialect_name string The database dialect for this application. provider string The OAuth provider for this application (e.g., 'entra'). Null for standard dialect OAuth. scopes string Space-delimited OAuth scopes to request when authorizing users. Required when provider is 'entra': the Snowflake resource application's scope, e.g. 'api:///session:role-any' (offline_access is added automatically). bi_directional_data_access boolean Whether this application supports bi-directional data access. created_at string Creation time for this application

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link