Connections

Update connection variables

Updates a connection's context variables. Merge patch over top-level keys, same can_manage bar as the read: set replaces the keys it names, unset deletes the keys it names, and everything else in the account context — the keys this API may not read, the OAuth token blob first among them — is left where it is, so a patch cannot destroy what it cannot see. Secret keys cannot be set or unset here. Answers 200 with the same list envelope the GET returns, reflecting the new state.

patch/connection/{id}/variables

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/connection/{id}/variables
  • Auth: HTTP bearer

Path parameters

idstring required

Connection id (conn_…).

Query parameters

limitinteger

Page size. Defaults to 50. Values above 200 are silently clamped to 200 rather than rejected; a value below 1, or a non-integer, is a 400. Ignored by the endpoints documented as unpaginated.

cursorstring

Opaque cursor — pass the next_cursor from a previous response. Ignored by unpaginated endpoints.

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Request body

setobject

Top-level keys to replace, real JSON shapes as values.

unsetstring[]

Top-level keys to delete.

Response

OK

next_cursorstring nullable required
prev_cursorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.