Build and Configure Continuous Integration Projects

Delete a pipeline by ID

Deletes a pipeline by its ID within a project with comprehensive cleanup options. This operation can be performed synchronously or asynchronously depending on the cleanup operations required.

Process Overview:

  • Validation Phase: Validates project and pipeline existence, association, and user permissions
  • Pipeline State Check: Determines if pipeline is currently running
  • Graceful Shutdown (if pipeline is running):
    • Stops the pipeline execution
    • Disables data capture (if disableCapture is true)
    • Clears pending backlog (if clearBacklog is true)
    • Stops associated log reader processes (if stopLogReader is true)
  • Configuration Cleanup: Removes pipeline configuration and associated resources

Execution Modes:

  • Synchronous: For simple pipeline deletions (stopping and deleting without cleanup operations)
  • Asynchronous: For complex deletions requiring extensive cleanup operations (e.g., disabling capture, clearing backlog, stopping log readers)

Pre-deletion Operations:

  • Disable Capture: Stops data replication while preserving existing data
  • Clear Backlog: Removes pending data changes that haven't been processed
  • Stop Log Reader: Gracefully shuts down log reading processes

Key Considerations:

  • Running pipelines are automatically stopped before deletion
  • Monitor deletion progress using the endpoint returned in the Location header for 202 responses

Required Permissions: replication-pipeline::delete when permission harmonization is enabled; otherwise, replication-pipeline::manage.

delete/v1/integration/continuous/projects/{projectId}/pipelines/{pipelineId}

Request

  • Base URL: https://integration-adapter.connect.cloud.precisely.com
  • URL: https://integration-adapter.connect.cloud.precisely.com/v1/integration/continuous/projects/{projectId}/pipelines/{pipelineId}
  • Auth: HTTP bearer

Path parameters

projectIdstring required

The unique identifier of the project containing the pipeline.

pipelineIdstring required

The unique identifier of the pipeline to delete.

Request body

disableCaptureboolean

Flag to indicate whether to disable data capture for the pipeline

clearBacklogboolean

Flag to indicate whether to clear any pending backlog for the pipeline

stopLogReaderboolean

Flag to indicate whether to stop log reader processes associated with the pipeline

Response

Pipeline deletion initiated successfully. Use the Location header to monitor progress.

Changes

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