Update project integration

http
PATCH /projects/{project_reference}/integrations/{name}

Change the scope, allowed tools, configuration or execution mode of a project integration by sending only the fields to change, so that an omitted field keeps its stored value; returns the updated project integration. Requires project.integrations.configure.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
namepathYesIntegration name, for example "salesforce".

Request body

FieldTypeRequiredDescription
scopestringCredential scope the integration uses. Omit to keep the stored value. The legacy end_user and endUser inputs are aliases of user; the result returns user.
allowed_toolsarray,nullUnprefixed tool IDs the project allows. Null allows all tools. Omit to keep the stored list. Each entry must exist in the catalog of the effective execution mode.
configobjectIntegration-specific configuration that must match config_schema. Omit to keep the stored configuration.
execution_modestringExecution mode, real or mock. Omit to keep the stored value.

Responses

StatusDescription
200The updated project integration.
400invalid_input: a field is invalid, allowed_tools names a tool outside the catalog of the effective execution mode, or config does not match config_schema. errors lists the fields.
401unauthenticated: no valid credential was sent.
403forbidden: the credential lacks project.integrations.configure.
404not_found: the project or the integration does not exist or is not accessible.
500internal: the update failed unexpectedly.
502internal: the mock integration service did not return its catalog, which allowed_tools is checked against in mock execution mode.
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.