Update project integration

updateProjectIntegration(projectReference: String!, name: String!, input: UpdateProjectIntegrationInput!): ManagedProjectIntegration!

Requires project.integrations.configure.

Arguments

ArgumentTypeRequired
projectReferenceString!Yes
nameString!Yes
inputUpdateProjectIntegrationInput!Yes

Input fields

input

UpdateProjectIntegrationInput

FieldTypeRequiredDescription
scopeStringNoCredential scope the integration uses: project or user. The legacy end_user and endUser inputs are aliases of user.
allowedTools[String!]NoUnprefixed tool IDs the project allows. Null allows all tools. Each entry must exist in the catalog of the effective execution mode.
configJSONNoIntegration-specific configuration that must match configSchema.
executionModeStringNoExecution mode: real or mock.

Response

Returns ManagedProjectIntegration!. Open the type for its fields and nested types.

FieldType
nameString!
configuredBoolean!
createdAtString
updatedAtString
displayNameString!
iconString!
descriptionString!
authTypeString!

All fields of ManagedProjectIntegration.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
mutation UpdateProjectIntegration($projectReference: String!, $name: String!, $input: UpdateProjectIntegrationInput!) {  updateProjectIntegration(projectReference: $projectReference, name: $name, input: $input) {    name    createdAt    updatedAt    allowedTools    authType  }}
variables.json
{  "projectReference": "00000000-0000-4000-8000-000000000001",  "name": "example",  "input": {}}