PATCH
/
api
/
v1
/
integration
/
{integrationId}
curl --request PATCH \
  --url https://app.infisical.com/api/v1/integration/{integrationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "app": "<string>",
  "appId": "<string>",
  "isActive": true,
  "secretPath": "/",
  "targetEnvironment": "<string>",
  "owner": "<string>",
  "environment": "<string>",
  "metadata": {
    "secretPrefix": "<string>",
    "secretSuffix": "<string>",
    "initialSyncBehavior": "<string>",
    "mappingBehavior": "one-to-one",
    "shouldAutoRedeploy": true,
    "secretGCPLabel": {
      "labelName": "<string>",
      "labelValue": "<string>"
    },
    "secretAWSTag": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "kmsKeyId": "<string>",
    "shouldDisableDelete": true,
    "shouldEnableDelete": true,
    "shouldMaskSecrets": true,
    "shouldProtectSecrets": true
  }
}'
{
  "integration": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "isActive": true,
    "url": "<string>",
    "app": "<string>",
    "appId": "<string>",
    "targetEnvironment": "<string>",
    "targetEnvironmentId": "<string>",
    "targetService": "<string>",
    "targetServiceId": "<string>",
    "owner": "<string>",
    "path": "<string>",
    "region": "<string>",
    "scope": "<string>",
    "integration": "<string>",
    "metadata": "<any>",
    "integrationAuthId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "envId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "secretPath": "/",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "lastUsed": "2023-11-07T05:31:56Z",
    "isSynced": true,
    "syncMessage": "<string>",
    "lastSyncJobId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

integrationId
string
required

The ID of the integration object.

Body

application/json

Response

200 - application/json
Default Response

The response is of type object.