v1
Northflank docs for LLMs
API
CLI
JS Client

Project / Preview Blueprints /

Delete preview environment

Delete a preview environment generated by a preview blueprint.

Required permission

Project > PreviewBlueprints > Previews > Delete

Path parameters

    • projectId

      string required
      ID of the project
    • previewBlueprintId

      string required
      ID of the preview blueprint
    • previewId

      string required
      ID of the preview

Query parameters

    • skipTeardown

      boolean
      If `true`, the teardown spec will not be run when deleting the preview environment.

Request body

  • {object}
    • teardownArgumentOverrides

      {object}
      Argument overrides to pass to the teardown spec when deleting the preview environment.

    Response body

    • {object}
      Response object.
      • data

        {object} required
        Result data.
      API
      CLI
      JS Client

      DELETE /v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}

      DELETE /v1/teams/{teamId}/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}

      Example request

      Request body
      curl --header "Content-Type: application/json" \
        --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
        --request DELETE \
        --data 'undefined' \
        https://api.northflank.com/v1/projects/{projectId}/preview-blueprints/{previewBlueprintId}/previews/{previewId}

      Example response

      200 OK

      The operation was performed successfully.

      JSON

      {
        "data": {}
      }

      © 2026 Northflank Ltd. All rights reserved.

      northflank.com / Terms / Privacy / feedback@northflank.com