Avisi cloud logo
Integrations

Configure an integration for an organization.

POST
/api/v1/orgs/{organizationSlug}/integrations

Request Body

application/jsonRequired

type
Required
string

Value in: "stackstate"

displayName
Required
string

enabledboolean

config
Required
object

Path Parameters

organizationSlug
Required
string

curl -X POST "http://localhost:8090/api/v1/orgs/string/integrations" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "stackstate",
    "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"
    }
  ]
}