---
title: "Updates the existing Connect OAuth configuration for the account."
method: PUT
path: "/v2.1/accounts/{accountId}/connect/oauth"
tags: ["ConnectConfigurations"]
---

# Updates the existing Connect OAuth configuration for the account.

`PUT /v2.1/accounts/{accountId}/connect/oauth`

## Path parameters

- `accountId` string, required

## Request body

- ConnectOAuthConfig — A complex object describing a Connect OAuth configuration.
  - `authorizationServerUrl` string — The token URL for your authorization server or OAuth service. This property is required.
  - `clientId` string — The client ID assigned to your app by your authorization server or OAuth service. This property is required.
  - `clientSecret` string — The secret value provided by your authorization server. This property is required.
  - `customParameters` object
  - `scope` string — The scopes that your app will request from the authorization server. This property is optional. **Note:** If you are using Azure, this value is the application ID URI of the secified resource affixed with the `.default`. For example: `api://{{clientId}}/.default`

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/revisions/77f1998c313d/schema)
