Delete a Pipeline

PUT /api/v1.2/pipelines/<pipeline_id>/delete

Use this API to delete a streaming pipeline. The streaming pipeline must be in inactive state.

Required Role

The following users can make this API call:

  • Users who belong to the system-user or system-admin group.

  • Users who belong to a group associated with a role that allows submitting a command.

  • Users who belong to a role that allows the Pipelines resource.

See Managing Groups and Managing Roles for more information.

Request API Syntax

curl -i -X PUT<pipeline_id>/delete  -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"

Sample API Request

curl -i -X PUT -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"