---
title: "Update a connector"
method: PUT
path: "/subscription/connectors/{connector_id}"
tags: ["Connectors"]
---

# Update a connector

`PUT /subscription/connectors/{connector_id}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/subscription/connectors/{connector_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Path parameters

- `connector_id` integer, required

## Request body

- UpdateConnectorRequestSchema
  - `name` string, nullable: Connector name
  - `description` string, nullable: Connector description
  - `enabled` boolean, nullable: Whether connector is enabled
  - `bucket` string, nullable: file | database | app — the website's access model. Orthogonal to the basic/premium API profile the product still enforces
  - `rollout_default` string, nullable: How a catalog change reaches live deals that do not state this item: retroactive = follows the base plan; opt_in = the deal keeps its old value until opted in

## Response `200`

Request fulfilled, document follows

- ConnectorResponseSchema
  - `connector` ConnectorSchema, required
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `price_per_month` number, nullable
    - `enabled` boolean, required
    - `bucket` string, nullable: file | database | app | custom — the access model (admin-v2.1 D6): a plan's connectorAccess level reaches connectors by bucket
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `used_in_profiles` string[], nullable
    - `profile_count` integer, nullable
  - `message` string, required

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
