Delete a transform
DELETE/v1/transforms/{transformId}preview
Delete a transform. While destinations or sources use it, refused with 409 naming how many, unless unlink is true: then they are unlinked and it is deleted in one step.
Path parameters
transformIdstring RequiredA transform ID, starting with tfm_.
Query parameters
unlinkboolean OptionalTrue: unlink every destination and source that uses it, then delete it. They then run no transform: destinations send payloads as received. Omitted or false: refused while anything uses it.
Returns
The command completed.200
dataobject RequiredThe deleted transform.
idstring RequiredA transform ID, starting with tfm_.
Example
curl -X DELETE "https://api.payloadpuffin.com/v1/transforms/$TRANSFORMID" \
-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.