Avisi cloud logo
Integrations

Update an integration for an organization.

PATCH
/api/v1/orgs/{organizationSlug}/integrations/{organisationIntegrationIdentity}

Request Body

application/jsonRequired

organisationIntegrationIdentity
Required
string

Format: "uuid"

displayNamestring

enabledboolean

configobject

Path Parameters

organizationSlug
Required
string

organisationIntegrationIdentity
Required
string

Format: "uuid"
curl -X PATCH "http://localhost:8090/api/v1/orgs/string/integrations/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Content-Type: application/json" \
  -d '{
    "organisationIntegrationIdentity": "980e4cc4-718e-4098-a806-b5684e4c6a68",
    "displayName": "string",
    "enabled": true,
    "config": {
      "property1": "string",
      "property2": "string"
    }
  }'

Request was successfully processed. The response body contains the requested data.

{
  "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
  "type": "stackstate",
  "displayName": "string",
  "enabled": true,
  "config": {
    "property1": "string",
    "property2": "string"
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "modifiedAt": "2019-08-24T14:15:22Z",
  "clustersUsingIntegration": [
    {
      "clusterIdentity": "5e08fe67-1274-475d-bd0c-a65b0330507f",
      "enabled": true,
      "environmentSlug": "string",
      "clusterSlug": "string",
      "clusterName": "string"
    }
  ]
}