v1
Double column
API
CLI
JS Client

Pipelines /

Delete preview environment

Delete a preview environment generated by a preview template.

Required permission

Account > Templates > General > Delete

Path parameters

    • projectId

      string required
      ID of the project
    • pipelineId

      string required
      ID of the pipeline
    • previewId

      string required
      ID of the preview environment

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
    API
    CLI
    JS Client

    DELETE /v1/projects/{projectId}/pipelines/{pipelineId}/preview-envs/previews/{previewId}

    Example response

    200 OK

    The operation was performed successfully.

    JSON

    {
      "data": {}
    }

    © 2024 Northflank Ltd. All rights reserved.