Skip to main content
DELETE
/
sources
/
{id}
Delete a source
curl --request DELETE \
  --url https://api.pipedream.com/v1/sources/{id} \
  --header 'Authorization: Bearer <token>'
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.pipedream.com/v1/sources/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.pipedream.com/v1/sources/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
HttpResponse<String> response = Unirest.delete("https://api.pipedream.com/v1/sources/{id}")
.header("Authorization", "Bearer <token>")
.asString();
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.pipedream.com/v1/sources/{id}"

req, _ := http.NewRequest("DELETE", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}

Endpoint

DELETE /sources/{id}