> For the complete documentation index, see [llms.txt](https://bump.sh/logto/doc/logto-management-api/llms.txt)

# Update connector

> PATCH /api/connectors/{id}
> 
> Update connector by ID with the given data. This methods performs a partial update.



## Servers
- Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.)


## Authentication methods
- O auth2


## Parameters

### Path parameters

- **id** (string)
  The unique identifier of the connector.



### Body: application/json (object)

- **config** (object)
  The connector config object that will be passed to the connector. The config object should be compatible with the connector factory.

- **metadata** (object)
  Custom connector metadata, will be used to overwrite the default connector metadata.

- **syncProfile** (boolean)
  Whether to sync user profile from the identity provider to Logto at each sign-in. If `false`, the user profile will only be synced when the user is created.



## Responses
### 200
The updated connector.

#### Body: application/json (object)
- **id** (string)

- **syncProfile** (boolean)

- **config** (object)
  arbitrary

- **metadata** (object)

- **connectorId** (string)

- **target** (string)

- **name** (object)
  Validator function

- **description** (object)
  Validator function

- **logo** (string)

- **logoDark** (string | null)

- **readme** (string)

- **configTemplate** (string)

- **formItems** (array[object])

- **customData** (object)

- **fromEmail** (string)

- **platform** (string | null)

- **isStandard** (boolean)

- **type** (string)

- **isDemo** (boolean)

- **extraInfo** (object)

- **usage** (number)


### 400
Invalid request body.

### 401
Unauthorized

### 403
Forbidden

### 404
Connector not found.

### 422
Patch operation triggered a connector conflict.


[Powered by Bump.sh](https://bump.sh)
