POST
/
org
curl --request POST \
  --url https://api.cpln.io/org \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "tags": {},
  "spec": {
    "logging": {
      "s3": {
        "bucket": "<string>",
        "region": "<string>",
        "prefix": "<string>",
        "credentials": "<string>"
      },
      "coralogix": {
        "cluster": "coralogix.com",
        "credentials": "<string>",
        "app": "<string>",
        "subsystem": "<string>"
      },
      "datadog": {
        "host": "http-intake.logs.datadoghq.com",
        "credentials": "<string>"
      },
      "logzio": {
        "listenerHost": "listener.logz.io",
        "credentials": "<string>"
      },
      "elastic": {
        "aws": {
          "host": "<string>",
          "port": 123,
          "index": "<string>",
          "type": "<string>",
          "credentials": "<string>",
          "region": "<string>"
        },
        "elasticCloud": {
          "index": "<string>",
          "type": "<string>",
          "credentials": "<string>",
          "cloudId": "<string>"
        },
        "generic": {
          "host": "<string>",
          "port": 123,
          "path": "<string>",
          "index": "<string>",
          "type": "<string>",
          "credentials": "<string>",
          "username": "<string>",
          "password": "<string>"
        }
      },
      "cloudWatch": {
        "region": "us-east-1",
        "credentials": "<string>",
        "retentionDays": 123,
        "groupName": "<string>",
        "streamName": "<string>"
      },
      "fluentd": {
        "host": "<string>",
        "port": 123
      },
      "stackdriver": {
        "credentials": "<string>",
        "location": "us-east1"
      },
      "syslog": {
        "host": "<string>",
        "port": 123,
        "mode": "tcp",
        "format": "rfc3164",
        "severity": 123
      }
    },
    "extraLogging": [
      {
        "s3": {
          "bucket": "<string>",
          "region": "<string>",
          "prefix": "<string>",
          "credentials": "<string>"
        },
        "coralogix": {
          "cluster": "coralogix.com",
          "credentials": "<string>",
          "app": "<string>",
          "subsystem": "<string>"
        },
        "datadog": {
          "host": "http-intake.logs.datadoghq.com",
          "credentials": "<string>"
        },
        "logzio": {
          "listenerHost": "listener.logz.io",
          "credentials": "<string>"
        },
        "elastic": {
          "aws": {
            "host": "<string>",
            "port": 123,
            "index": "<string>",
            "type": "<string>",
            "credentials": "<string>",
            "region": "<string>"
          },
          "elasticCloud": {
            "index": "<string>",
            "type": "<string>",
            "credentials": "<string>",
            "cloudId": "<string>"
          },
          "generic": {
            "host": "<string>",
            "port": 123,
            "path": "<string>",
            "index": "<string>",
            "type": "<string>",
            "credentials": "<string>",
            "username": "<string>",
            "password": "<string>"
          }
        },
        "cloudWatch": {
          "region": "us-east-1",
          "credentials": "<string>",
          "retentionDays": 123,
          "groupName": "<string>",
          "streamName": "<string>"
        },
        "fluentd": {
          "host": "<string>",
          "port": 123
        },
        "stackdriver": {
          "credentials": "<string>",
          "location": "us-east1"
        },
        "syslog": {
          "host": "<string>",
          "port": 123,
          "mode": "tcp",
          "format": "rfc3164",
          "severity": 123
        }
      }
    ],
    "tracing": {
      "sampling": 123,
      "lightstep": {
        "endpoint": "<string>",
        "credentials": "<string>"
      },
      "customTags": {},
      "provider": {
        "otel": {
          "endpoint": "<string>"
        },
        "lightstep": {
          "endpoint": "<string>",
          "credentials": "<string>"
        },
        "controlplane": {}
      }
    },
    "sessionTimeoutSeconds": 123,
    "authConfig": {
      "domainAutoMembers": [
        "<string>"
      ],
      "samlOnly": true
    },
    "observability": {
      "logsRetentionDays": 123,
      "metricsRetentionDays": 123,
      "tracesRetentionDays": 123
    },
    "security": {
      "threatDetection": {
        "enabled": true,
        "minimumSeverity": "warning",
        "syslog": {
          "transport": "tcp",
          "host": "<string>",
          "port": 123
        }
      }
    }
  }
}'
"<any>"

Authorizations

Authorization
string
headerrequired

Service account key can be used as API keys

Body

application/json
description
string
tags
object
spec
object

Response

201 - application/json

The response is of type any.