integrations
Patch Instance
Update editable settings on an integration (connected tool / MCP & OAuth registration) you own — a partial update, so pass ONLY the fields you want to change; omitted fields are left untouched. Set alias to rename only this connection; name and description edit the shared connector definition used by sibling connections. The registration_id comes from integration_list. Editable fields:
- alias: the display name (e.g. rename 'Gmail (read-only)' to 'Gmail — dan@example.com'). Must be non-empty.
- health_check_tool: the tool the proactive probe + 'Test connection' call to validate the credential. tools/list-only by default, which can show green even when a per-user OAuth credential is dead; naming a safe READ-ONLY no-required-args tool (e.g. 'list_calendars', 'list_files') makes the probe actually exercise the credential. Pass an empty string to clear it (revert to tools/list-only).
- health_check_arguments: reviewed JSON arguments for the safe probe. These are stored on the profile and supplied by the platform, never by the caller of the synthetic health tool.
- health_check_declined + health_check_decline_reason: explicitly record that no safe probe exists and why. Declining clears the configured tool and arguments.
- enabled: enable/disable the integration.
- description: free-text description.
- connection_mode: 'shared' (one credential the whole folder uses) or 'per_caller' (each identity connects and uses their own credential). shared -> per_caller is a pure flip. per_caller -> shared keeps only the most-recently-updated connection and deletes the rest; if more than one row would be deleted this fails with the count unless you also pass confirm_credential_deletion=true. In a folder with MORE THAN ONE member, per_caller -> shared also means 'Share the owner's account with this group' — everyone acts as one account — so it fails with the blast radius unless you also pass confirm_shared_account_exposure=true. Show that to the user first; the safe default is 'Each member connects separately' (per_caller). Fails with a clear message if you don't own the integration, the new alias collides, connection_mode is invalid, a per_caller -> shared downgrade needs confirmation, or no editable field was provided.
patch/api/integrations/instances/{instance_id}
Request
- Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
- URL: https://app.thinqos.com/api/integrations/instances/{instance_id}
- Auth: none declared
Path parameters
instance_idstring uuid required
Headers
x-impersonate-identity-idstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.