---
title: "Update a connector"
method: PATCH
path: "/auth/connectors/{connector_id}"
tags: ["AuthConnector"]
---

# Update a connector

`PATCH /auth/connectors/{connector_id}`

Update a connector (superadmin only).

## Path parameters

- `connector_id` integer, required — ID of the connector to update.

## Query parameters

- `cookie_name` string, nullable

## Request body

- ConnectorUpdate
  - `description` string, nullable — New description for the connector.

## Response `200`

Successful Response

- Connector
  - `created_at` string, date-time — UTC timestamp when the record was created.
  - `updated_at` string, date-time — UTC timestamp when the record was last updated.
  - `creator_user_id` integer, nullable — ID of the user who created the record, if attributable.
  - `updater_user_id` integer, nullable — ID of the user who last updated the record, if any.
  - `id` integer, nullable — Primary key for the connector.
  - `oauth_client_id` integer, required — ID of the OAuth client backing this connector.
  - `name` string, required — Name of the connector.
  - `description` string, nullable — Optional description of the connector.
  - `scopes` string[] — OAuth scopes requested by this connector.
  - `caps` string[] — Capabilities provided by this connector.
  - `auto_attach` boolean — Whether this connector is automatically attached to new resources.

## Other responses

- `401` — Missing or invalid authentication.
- `403` — Platform operator (superadmin) privileges required.
- `404` — No connector exists with the given id.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/versions/b53e89b98c2b/schema)
