Deployment Integrations

Create a new deployment integration

Creates a new deployment integration for the organization.

post/v2/organization/{organization}/deployment-integration

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/organization/{organization}/deployment-integration
  • Auth: HTTP bearer

Path parameters

organizationstring required

Organization unique name (URL-safe slug)

Example:zephyr-cloud

Request body

namestring required

Integration name

displayNamestring

Integration display name

platform'cloudflare' | 'aws' | 'netlify' | 'fastly' | 'akamai' | 'kubernetes' | 'zephyr' | 'custom' | 'multi-cdn' required
isDefaultboolean

Set as default integration (will unset other defaults)

Example request

{
  "name": "cloudflare-prod",
  "displayName": "Cloudflare Production",
  "integrationConfig": {
    "workerName": "ze-worker-for-static-upload",
    "kvEnvsNamespaceName": "ze_envs",
    "kvSnapshotsNamespaceName": "ze_envs",
    "kvFilesNamespaceName": "ze_envs"
  }
}

Response

Integration created successfully

Example response

{
  "value": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "cloudflare-prod",
    "enabled": true,
    "workerVersion": "0.1.2",
    "integrationConfig": {
      "workerName": "ze-worker-for-static-upload",
      "kvEnvsNamespaceName": "ze_envs",
      "kvSnapshotsNamespaceName": "ze_envs",
      "kvFilesNamespaceName": "ze_envs"
    },
    "deploymentConfig": {
      "kvEnvsNamespaceName": "ze_envs",
      "kvSnapshotsNamespaceName": "ze_envs",
      "kvFilesNamespaceName": "ze_envs"
    },
    "organizationId": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.