Retrieve a single cluster object regex by ID. On this endpoint, all the matching cluser objects are also returned.
/v1/cluster_object_regexes/{regexID}
curl -L \ --url 'https://cloud-api.calyptia.com/v1/cluster_object_regexes/{regexID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "pipelineID": "123e4567-e89b-12d3-a456-426614174000", "regex": "text", "description": "text", "createdAt": "2025-03-12T04:22:38.437Z", "updatedAt": "2025-03-12T04:22:38.437Z", "clusterObjects": null }
Delete a single cluster object regex by its ID.
curl -L \ --request DELETE \ --url 'https://cloud-api.calyptia.com/v1/cluster_object_regexes/{regexID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body
Update a cluster object regex details.
curl -L \ --request PATCH \ --url 'https://cloud-api.calyptia.com/v1/cluster_object_regexes/{regexID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "regex": null, "description": null }'
{ "updatedAt": "2025-03-12T04:22:38.437Z" }