Delete a connector
Removes a connector, as the dashboard does: the agents that use it stop calling it at once, its token and secret header values are erased, and its open alert closes. Deleting it again is a `404`. Records a `connector.disabled` audit entry. Refused while a holdout runs on a site whose live version uses the connector.
ApiKeyAuthAuthorizationBearer <token>A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).
connectorId*stringThe connector id (prefixed conn_), from the site's connector list or the subject of a connector_unavailable or catalog_empty alert. A connector id that isn't yours, or that was deleted, is a 404.
The connector was deleted.
application/json- response
data*curl -X DELETE 'https://example.com/api/v1/connectors/string'{ "data": { "id": "conn_01kvnwmagvf27rc9cze5rm9e1r", "deleted": true }}Get a connector
Returns one connector with its tools, its switched-off tools and its health. Secrets appear as flags and are never returned.
Update a connector
Changes a connector with the rules of its page in the dashboard. A field left out stays as it is. An empty `auth` clears the token, except on commercetools. A secret header sent without a value keeps its stored value. `authMode` changes how a `custom` connector signs in; a change of mode, or of the address of an `oauth` connector, erases its sign-in and asks the vendor to revoke it, and a switch to `oauth` answers the connector not connected. Records a `connector.updated` audit entry, with no secret in it. Refused while a holdout runs on a site whose live version uses the connector.