Custom Pipelines (Deprecated)
Archive Custom Pipeline
Archive a custom processor (soft-delete). Available to any team member with pipeline access.
POST
/
api
/
v1
/
custom_pipelines
/
{processor_id}
/
archive
Archive Custom Pipeline
import requests
url = "https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)curl --request POST \
--url https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?
⌘I
Archive Custom Pipeline
import requests
url = "https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)curl --request POST \
--url https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.datalab.to/api/v1/custom_pipelines/{processor_id}/archive"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}