Delete a single processing rule template by its ID.
curl -L \ --request DELETE \ --url 'https://cloud-api.calyptia.com/v1/processing_rule_templates/{templateID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "deleted": true, "deletedAt": null }
Update a processing rule template details.
My template
semver version of core-fluent-bit is running
v1.3.5
input to use as an example for the processing rule template
{"log":"line 2"}
define if the input parameter is in raw or json format (false)
curl -L \ --request PATCH \ --url 'https://cloud-api.calyptia.com/v1/processing_rule_templates/{templateID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "name": "My template", "definition": null, "pipelineVersion": "v1.3.5", "input": { "log": "line 2" }, "isRawInput": false }'
{ "updatedAt": "2025-03-20T03:52:35.084Z" }
curl -L \ --url 'https://cloud-api.calyptia.com/v2/processing_rule_templates/{templateID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "projectID": "123e4567-e89b-12d3-a456-426614174000", "name": "My Processing Rule Template", "pipelineVersion": "v24.5.0", "definition": {}, "createdAt": "2025-03-20T03:52:35.084Z", "updatedAt": "2025-03-20T03:52:35.084Z" }
curl -L \ --request DELETE \ --url 'https://cloud-api.calyptia.com/v2/processing_rule_templates/{templateID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
My Processing Rule Template
v24.5.0
curl -L \ --request PATCH \ --url 'https://cloud-api.calyptia.com/v2/processing_rule_templates/{templateID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "name": "My Processing Rule Template", "pipelineVersion": "v24.5.0", "definition": {} }'