Delete a source
DELETE/v1/sources/{sourceId}preview
Delete a source. Its URL stops working within a minute, and its events stay available. Deleting it again answers 404.
Path parameters
sourceIdstring RequiredA source ID, starting with src_.
Returns
The command completed.200
dataobject RequiredThe deleted source.
idstring RequiredA source ID, starting with src_.
Example
curl -X DELETE "https://api.payloadpuffin.com/v1/sources/$SOURCEID" \
-H "Authorization: Bearer $PAYLOADPUFFIN_API_KEY"{
"data": {
"id": "id"
}
}Errors
Errors use application/problem+json. The code member is stable; branch on it rather than on title or detail.
4XXapplication/problem+jsonThe request was rejected.