Delete one of the caller's pipelines
DELETE
/v1/studio/pipelines/{pipeline_id}
const url = 'http://localhost:8300/v1/studio/pipelines/example';const options = { method: 'DELETE', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:8300/v1/studio/pipelines/example \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'409 while a batch of it is queued, running, waiting or paused (a batch of this pipeline is unfinished; stop it or wait). Past batches and takes keep their snapshots. Deleting again is 404.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”pipeline_id
required
string
Pipeline UUID (malformed = 404)
Responses
Section titled “Responses”Deleted
Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Not found
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}The resource’s state forbids this
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}