http-connector-resources
The resources of your own custom HTTP connectors — the logical API groupings (orders, customers, …) inside a connector created with http-connectors create. This is the authoring half of http-connectors: its nested resources / resource reads browse any connector, including other partners' published ones, in an abridged shape; this group reaches only the resources your account owns, in full, and is where they are created, replaced, and deleted. A resource read through either route is the same object.
Build a connector in this order: the connector (http-connectors create), then its resources (this group, each naming the connector as _httpConnectorId), then the endpoints under each resource (http-connector-endpoints).
Added in celigo-cli 2026.9.6.
REST API: HTTP Connector Resources
celigo http-connector-resources <subcommand> [args] [flags]Supports all global flags.
Subcommands
list
List every HTTP connector resource the account owns.
get <id>
Fetch one resource by ID.
create
Create a resource from a JSON body (--file <path> or stdin).
update <id>
Full-replace PUT from a JSON body (--file <path> or stdin).
set <id> key=value …
Edit fields through GET + modify + PUT. Supports key=file://<path>.
delete <id>
Delete a resource. Not recoverable through the recycle bin.
Standard verbs only — there is no dependencies or audit here.
celigo http-connector-resources list
List every HTTP connector resource the account owns, across all of its connectors. The endpoint documents no field projection, so rows are trimmed client-side: --fields changes what is printed, not what is transferred.
Signature
Flags
--fields <spec>
string
default
Fields to print per row. default prints _id, name, and the table columns; all prints complete documents; a comma-separated list selects specific fields (dot notation allowed). See field projection.
--limit <n>
integer
—
Return at most <n> rows, fetching a single page.
Default table columns: _id, name, _httpConnectorId, published, isRoot, lastModified.
Example
Corresponds to: GET /v1/httpconnectorresources — limited to resources the account owns.
celigo http-connector-resources get
Fetch one resource by ID, in full.
Signature
Example
Corresponds to: GET /v1/httpconnectorresources/{_id}
celigo http-connector-resources create
Create a resource from a JSON body (--file <path> or stdin). name and _httpConnectorId (a connector your account owns — create it first with http-connectors create) are required. List the connector's versions[]._id values in _versionIds to make the resource available in those versions — every id must be one of the connector's versions, or the create fails with a 422. Publish the resource by setting published: true. Requires full mode.
Signature
Flags
-f, --file <path>
string
—
Read the JSON body from a file instead of stdin (--file - also means stdin).
Example
Corresponds to: POST /v1/httpconnectorresources
celigo http-connector-resources update
Full-replace PUT from a JSON body (--file <path> or stdin). Requires full mode.
⚠️
updatereplaces the whole resource._versionIds,metadata,resourceFields,supportedBy, and the other optional fields are cleared when the body leaves them out (onlypublishedandisRootkeep their stored values);nameand_httpConnectorIdare required on every PUT. GET the current document, modify it, and PUT the complete object back — or useset, which does that for you.
Signature
Flags
-f, --file <path>
string
—
Read the JSON body from a file instead of stdin (--file - also means stdin).
--force
boolean
false
Submit even if the body contains masked credential values (***) copied from a GET.
Example
Corresponds to: PUT /v1/httpconnectorresources/{_id}
celigo http-connector-resources set
Edit individual fields with key=value assignments. This resource has no PATCH whitelist, so every assignment goes through GET → modify → PUT with the complete document — the fields you do not name are preserved, which is what makes set the safe way to publish a resource or add a version. Values are auto-parsed as JSON (published=true is a boolean); dot notation, array indexing, and key=file://<path> are supported.
set is blocked in read mode, and operate mode restricts it to operational fields (disabled, debugUntil, schedule.*, …) that a connector resource does not carry — so in practice it needs full mode. See Profiles & regions.
Signature
Example
Corresponds to: GET /v1/httpconnectorresources/{_id} then PUT /v1/httpconnectorresources/{_id}
celigo http-connector-resources delete
Delete a resource. Prompts for confirmation unless -y is supplied. Requires full mode.
⚠️ Deletes skip the recycle bin. A deleted resource cannot be restored. The delete is refused while any endpoint still lists the resource in its
_httpConnectorResourceIds— delete or repoint those endpoints first.
Signature
Flags
-y, --yes
boolean
false
Skip the confirmation prompt.
Example
Corresponds to: DELETE /v1/httpconnectorresources/{_id}
Gotchas
Two routes, one object.
http-connectors resources <connectorId>browses one connector's resources — any connector's, abridged. This group lists and edits only what your account owns, in full. The document behind both is the same.Order of creation matters. A resource needs its connector (
_httpConnectorId) to exist; an endpoint needs its resource. Deletion runs the other way: a connector cannot be deleted while it still has resources, and a resource cannot be deleted while an endpoint still lists it._versionIdsmust name the connector's own versions. Each id must be one of the connector'sversions[]._idvalues, or the write fails with a422. Read them withhttp-connectors get <id>.updateclears what it omits. Preferset, which round-trips the complete document; here everysetis a GET + PUT, since the resource has no PATCH whitelist.Not recoverable. Unlike most resources, a deleted connector resource does not land in the recycle bin.
Permission modes.
listandgetwork inreadmode;create,update,delete— and, in practice,set— needfull.
Related
http-connectors — the connector these resources belong to (
_httpConnectorId,versions[]), and the read-onlyresources/resourcebrowse of any connector.http-connector-endpoints — the method + URI operations under a resource; they reference it through
_httpConnectorResourceIds.
Last updated
Was this helpful?