> For the complete documentation index, see [llms.txt](https://developer.celigo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.celigo.com/cli/commands/connectors.md).

# connectors

Manage connectors — installable integration applications, their install base, install/update lifecycle, and per-connector licenses.

**REST API**: [Connectors](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors)

```
celigo connectors <subcommand> [args] [flags]
```

Supports all [global flags](https://developer.celigo.com/cli/getting-started/global-flags.md).

## Subcommands

| Subcommand             | Purpose                                                                                                 |
| ---------------------- | ------------------------------------------------------------------------------------------------------- |
| `list`                 | List all connectors.                                                                                    |
| `get <id>`             | Fetch one connector.                                                                                    |
| `create`               | Create a connector from JSON (stdin or `--file`).                                                       |
| `update <id>`          | Full replace from JSON (stdin or `--file`). Omitted fields are erased.                                  |
| `set <id> key=value …` | Safe field edit: GET → modify → PUT with the complete document.                                         |
| `delete <id>`          | Delete a connector.                                                                                     |
| `install-base <id>`    | List the installed integrations (install base) for a connector.                                         |
| `install <id>`         | Install a connector from JSON (stdin or `--file`).                                                      |
| `push-update <id>`     | Push an update to a connector's install base from JSON (stdin or `--file`).                             |
| `licenses`             | Manage licenses for a connector (sub-group) — see [`connectors licenses`](#celigo-connectors-licenses). |

### `licenses` sub-subcommands

| Subcommand                         | Purpose                                                   |
| ---------------------------------- | --------------------------------------------------------- |
| `licenses list <id>`               | List all licenses for a connector.                        |
| `licenses get <id> <licenseId>`    | Fetch one connector license.                              |
| `licenses create <id>`             | Create a connector license from JSON (stdin or `--file`). |
| `licenses update <id> <licenseId>` | Update a connector license from JSON (stdin or `--file`). |
| `licenses delete <id> <licenseId>` | Delete a connector license.                               |

***

## `celigo connectors list`

List all connectors in the account. Default table columns: `_id`, `name`, `lastModified`.

**Signature**

```bash
celigo connectors list [--fields <spec>] [--limit <n>]
```

**Flags**

| Flag              | Type    | Default   | Description                                                                                                                                                                                                                                                                            |
| ----------------- | ------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--fields <spec>` | string  | `default` | Fields to request per row. `default` returns `_id`, `name`, and the table columns; `all` returns complete documents; a comma-separated list requests specific fields (dot notation allowed). See [field projection](https://developer.celigo.com/cli/getting-started/global-flags.md). |
| `--limit <n>`     | integer | —         | Return at most `<n>` rows, fetching a single page.                                                                                                                                                                                                                                     |

**Example**

```bash
celigo connectors list --format table
```

**Corresponds to**: [`GET /v1/connectors`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `listConnectors`)

***

## `celigo connectors get`

Fetch one connector by ID.

**Signature**

```bash
celigo connectors get <id>
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Example**

```bash
celigo connectors get 5f83a9b2c7d3e8f1a2b3c4d5
```

**Corresponds to**: [`GET /v1/connectors/{_id}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `getConnectorById`)

***

## `celigo connectors create`

Create a connector from a JSON body.

**Signature**

```bash
celigo connectors create [flags]
```

**Flags**

| Flag                | Type   | Default | Description                                                             |
| ------------------- | ------ | ------- | ----------------------------------------------------------------------- |
| `-f, --file <path>` | string | stdin   | Read the JSON body from a file instead of stdin (`-` also means stdin). |

**Request body**

Reads JSON on stdin (or `--file`). See the `POST /v1/connectors` schema for the full payload shape. Since celigo-cli 2026.10.1, `create` refuses a body that is not a JSON object, and one that holds masked credential placeholders (`"******"` — four or more asterisks and nothing else), with no override.

**Example**

```bash
cat connector.json | celigo connectors create
```

**Corresponds to**: [`POST /v1/connectors`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `createConnector`)

***

## `celigo connectors update`

Full replace of a connector from a JSON body.

> ⚠️ **`update` erases omitted fields.** `PUT` is a full replace — any field missing from the body is cleared. `GET` the connector first, edit it, then send back the complete object — or use `set` for partial edits.

**Signature**

```bash
celigo connectors update <id> [flags]
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Flags**

| Flag                | Type    | Default | Description                                                                                                                                                                                            |
| ------------------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `-f, --file <path>` | string  | stdin   | Read the JSON body from a file instead of stdin (`-` also means stdin).                                                                                                                                |
| `--force`           | boolean | `false` | Submit even if the body contains masked credential values (`"******"`) copied from a GET. Since celigo-cli 2026.10.1 a mask is four or more asterisks and nothing else; a lone `*` is sent as a value. |

**Request body**

Reads JSON on stdin (or `--file`). See the `PUT /v1/connectors/{_id}` schema for the full payload shape. Since celigo-cli 2026.10.1 the body must be a JSON object.

**Example**

```bash
celigo connectors get 5f83a9b2c7d3e8f1a2b3c4d5 --format json > connector.json
# edit connector.json
cat connector.json | celigo connectors update 5f83a9b2c7d3e8f1a2b3c4d5
```

**Corresponds to**: [`PUT /v1/connectors/{_id}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `updateConnector`)

***

## `celigo connectors set`

Safe field edit. No connector field is on a PATCH whitelist, so every assignment goes through GET → modify → PUT with the complete document. Accepts `key=value` pairs; values auto-parse as JSON (`disabled=false` is a boolean; `=null` removes a field). Supports dot paths and array indexing. A connector has no operate-level fields, so `set` needs `full` mode.

Since celigo-cli 2026.10.1, when the server's reply still holds a field's previous value, `set` prints `not stored <field> the server answered the PUT but still holds its previous value …` on stderr and exits 1.

**Signature**

```bash
celigo connectors set <id> [assignments...]
```

**Arguments**

| Argument           | Type              | Required | Description                    |
| ------------------ | ----------------- | -------- | ------------------------------ |
| `<id>`             | string            | Yes      | Connector ID.                  |
| `[assignments...]` | `key=value` pairs | Yes      | One or more field assignments. |

**Example**

```bash
celigo connectors set 5f83a9b2c7d3e8f1a2b3c4d5 name="My Connector"
```

**Corresponds to**: [`GET /v1/connectors/{_id}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) then [`PUT /v1/connectors/{_id}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `updateConnector`)

***

## `celigo connectors delete`

Delete a connector.

> ⚠️ **`delete` is immediate.** Removing a connector affects its install base. Run `install-base` first to see the installed integrations.

**Signature**

```bash
celigo connectors delete <id> [flags]
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Flags**

| Flag        | Type    | Default | Description        |
| ----------- | ------- | ------- | ------------------ |
| `-y, --yes` | boolean | `false` | Skip confirmation. |

**Example**

```bash
celigo connectors delete 5f83a9b2c7d3e8f1a2b3c4d5 -y
```

**Corresponds to**: [`DELETE /v1/connectors/{_id}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `deleteConnector`)

***

## `celigo connectors install-base`

List the install base — the installed integrations — for a connector. Since celigo-cli 2026.10.1 the table shows `_integrationId`, `user.email` and `user.name` for each install, and a connector with no installs prints `[]` in JSON output (earlier releases printed `null`).

**Signature**

```bash
celigo connectors install-base <id>
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Example**

```bash
celigo connectors install-base 5f83a9b2c7d3e8f1a2b3c4d5 --format table
```

**Corresponds to**: [`GET /v1/connectors/{_id}/installBase`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `getConnectorInstallBase`)

***

## `celigo connectors install`

Install a connector from a JSON body.

**Signature**

```bash
celigo connectors install <id> [flags]
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Flags**

| Flag                | Type   | Default | Description                                                             |
| ------------------- | ------ | ------- | ----------------------------------------------------------------------- |
| `-f, --file <path>` | string | stdin   | Read the JSON body from a file instead of stdin (`-` also means stdin). |

**Request body**

Reads JSON on stdin (or `--file`). See the `POST /v1/connectors/{_id}/install` schema for the full payload shape.

Since celigo-cli 2026.10.1, the body must be a JSON object, and it is held to the checks every `create` runs before it is sent, with no override: masked credential placeholders (`"******"`) and a responseMapping object wrapper (or `null`) are refused. An install is never resent after a timeout or a `5xx`, so a slow install that reached the platform is not run twice. Since celigo-cli 2026.11.1, an install is not resent after a `429` either; earlier releases retried it. Requires `full` mode.

**Example**

```bash
cat install.json | celigo connectors install 5f83a9b2c7d3e8f1a2b3c4d5
```

**Corresponds to**: [`POST /v1/connectors/{_id}/install`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `installConnector`)

***

## `celigo connectors push-update`

Push an update to a connector's install base from a JSON body.

**Signature**

```bash
celigo connectors push-update <id> [flags]
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Flags**

| Flag                | Type    | Default | Description                                                                                                              |
| ------------------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| `-f, --file <path>` | string  | stdin   | Read the JSON body from a file instead of stdin (`-` also means stdin).                                                  |
| `--force`           | boolean | `false` | Submit even if the body contains masked credential values (`"******"`) copied from a GET. Added in celigo-cli 2026.10.1. |

**Request body**

Reads JSON on stdin (or `--file`). See the `PUT /v1/connectors/{_id}/update` schema for the full payload shape. Since celigo-cli 2026.10.1, the body must be a JSON object, a responseMapping object wrapper (or `null`) is refused, and masked credential placeholders (`"******"` — four or more asterisks and nothing else) are refused unless `--force`. Requires `full` mode.

**Example**

```bash
cat update.json | celigo connectors push-update 5f83a9b2c7d3e8f1a2b3c4d5
```

**Corresponds to**: [`PUT /v1/connectors/{_id}/update`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `pushConnectorUpdate`)

***

## `celigo connectors licenses`

Manage the licenses issued for a connector. Each license names its holder (`user.email`), the integration installed under it (`_integrationId`), and when it expires (`expires`). Every subcommand takes the connector's ID first; the ones that act on one license take its `licenseId` second. See the [`licenses` sub-subcommands](#licenses-sub-subcommands) table for the five verbs.

**Signature**

```bash
celigo connectors licenses <list|get|create|update|delete> <id> [licenseId] [flags]
```

`list` and `get` work in `read` mode; `create`, `update`, and `delete` need `full` mode. See [Profiles & regions](https://developer.celigo.com/cli/getting-started/profiles.md#permission-modes).

**Corresponds to**: the [`/v1/connectors/{_id}/licenses`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) routes.

***

## `celigo connectors licenses list`

List all licenses for a connector. Since celigo-cli 2026.10.1 the table shows each license's `_id`, `user.email`, `_integrationId` and `expires` — its holder and integration — in place of a `type` column that was always empty.

**Signature**

```bash
celigo connectors licenses list <id>
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Example**

```bash
celigo connectors licenses list 5f83a9b2c7d3e8f1a2b3c4d5
```

**Corresponds to**: [`GET /v1/connectors/{_id}/licenses`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `listConnectorLicenses`)

***

## `celigo connectors licenses get`

Fetch one connector license by ID.

**Signature**

```bash
celigo connectors licenses get <id> <licenseId>
```

**Arguments**

| Argument      | Type   | Required | Description   |
| ------------- | ------ | -------- | ------------- |
| `<id>`        | string | Yes      | Connector ID. |
| `<licenseId>` | string | Yes      | License ID.   |

**Example**

```bash
celigo connectors licenses get 5f83a9b2c7d3e8f1a2b3c4d5 6a1b2c3d4e5f6a7b8c9d0e1f
```

**Corresponds to**: [`GET /v1/connectors/{_id}/licenses/{licenseId}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `getConnectorLicenseById`)

***

## `celigo connectors licenses create`

Create a connector license from a JSON body.

**Signature**

```bash
celigo connectors licenses create <id> [flags]
```

**Arguments**

| Argument | Type   | Required | Description   |
| -------- | ------ | -------- | ------------- |
| `<id>`   | string | Yes      | Connector ID. |

**Flags**

| Flag                | Type   | Default | Description                                                             |
| ------------------- | ------ | ------- | ----------------------------------------------------------------------- |
| `-f, --file <path>` | string | stdin   | Read the JSON body from a file instead of stdin (`-` also means stdin). |

**Request body**

Reads JSON on stdin (or `--file`). See the `POST /v1/connectors/{_id}/licenses` schema for the full payload shape. Since celigo-cli 2026.10.1, the body must be a JSON object, and masked credential placeholders (`"******"`) or a responseMapping object wrapper are refused with no override, as on every `create`.

**Example**

```bash
cat license.json | celigo connectors licenses create 5f83a9b2c7d3e8f1a2b3c4d5
```

**Corresponds to**: [`POST /v1/connectors/{_id}/licenses`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `createConnectorLicense`)

***

## `celigo connectors licenses update`

Update a connector license from a JSON body.

**Signature**

```bash
celigo connectors licenses update <id> <licenseId> [flags]
```

**Arguments**

| Argument      | Type   | Required | Description   |
| ------------- | ------ | -------- | ------------- |
| `<id>`        | string | Yes      | Connector ID. |
| `<licenseId>` | string | Yes      | License ID.   |

**Flags**

| Flag                | Type    | Default | Description                                                                                                              |
| ------------------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| `-f, --file <path>` | string  | stdin   | Read the JSON body from a file instead of stdin (`-` also means stdin).                                                  |
| `--force`           | boolean | `false` | Submit even if the body contains masked credential values (`"******"`) copied from a GET. Added in celigo-cli 2026.10.1. |

**Request body**

Reads JSON on stdin (or `--file`). See the `PUT /v1/connectors/{_id}/licenses/{licenseId}` schema for the full payload shape. Since celigo-cli 2026.10.1, the body must be a JSON object, a responseMapping object wrapper (or `null`) is refused, and masked credential placeholders are refused unless `--force`.

**Example**

```bash
cat license.json | celigo connectors licenses update 5f83a9b2c7d3e8f1a2b3c4d5 6a1b2c3d4e5f6a7b8c9d0e1f
```

**Corresponds to**: [`PUT /v1/connectors/{_id}/licenses/{licenseId}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `updateConnectorLicense`)

***

## `celigo connectors licenses delete`

Delete a connector license.

> ⚠️ **`delete` removes the license immediately.** Any install that depends on this license may lose access. Confirm the `licenseId` first.

**Signature**

```bash
celigo connectors licenses delete <id> <licenseId> [flags]
```

**Arguments**

| Argument      | Type   | Required | Description   |
| ------------- | ------ | -------- | ------------- |
| `<id>`        | string | Yes      | Connector ID. |
| `<licenseId>` | string | Yes      | License ID.   |

**Flags**

| Flag        | Type    | Default | Description        |
| ----------- | ------- | ------- | ------------------ |
| `-y, --yes` | boolean | `false` | Skip confirmation. |

**Example**

```bash
celigo connectors licenses delete 5f83a9b2c7d3e8f1a2b3c4d5 6a1b2c3d4e5f6a7b8c9d0e1f -y
```

**Corresponds to**: [`DELETE /v1/connectors/{_id}/licenses/{licenseId}`](https://developer.celigo.com/api/api-reference/marketplace-and-templates/connectors) (operationId: `deleteConnectorLicense`)

***

## Gotchas

* **Permission modes.** `list`, `get`, `install-base`, `licenses list` and `licenses get` work in `read` mode. Every other subcommand — `create`, `update`, `set`, `delete`, `install`, `push-update`, and the `licenses` writes — needs `full` mode. See [Profiles & regions](https://developer.celigo.com/cli/getting-started/profiles.md#permission-modes).
* **Masked values are refused before they are sent.** `create`, `install` and `licenses create` refuse masked credential placeholders (`"******"`) with no override, and `update`, `push-update` and `licenses update` refuse them unless `--force`: a mask sent back keeps a stored secret only on an encrypted field that already holds one, and anywhere else the asterisks would be saved as the value. Before celigo-cli 2026.10.1 only `update` checked, and it took any run of asterisks for a mask.
* **An `access_restricted` 403 is a plain permission denial.** It is the platform's answer when the account or token cannot use the connector routes. Since celigo-cli 2026.10.1, the CLI no longer adds the hint that the action is restricted to the API token's own user to a `connectors` read.

## Related

* [integrations](https://developer.celigo.com/cli/commands/integrations.md) — connector installs produce integrations; the install base lists them.
* [connections](https://developer.celigo.com/cli/commands/connections.md) — connectors bundle the connections an install will create.
* [templates](https://developer.celigo.com/cli/commands/templates.md) — browse published connectors and templates available to install.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.celigo.com/cli/commands/connectors.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
