curl -X DELETE "https://api.dcycle.io/v1/invoices/550e8400-e29b-41d4-a716-446655440000" \
-H "x-organization-id: YOUR_ORGANIZATION_ID" \
-H "x-api-key: YOUR_API_KEY"
(empty response body)
Delete an invoice from your organization
curl -X DELETE "https://api.dcycle.io/v1/invoices/550e8400-e29b-41d4-a716-446655440000" \
-H "x-organization-id: YOUR_ORGANIZATION_ID" \
-H "x-api-key: YOUR_API_KEY"
(empty response body)
inactive if you want to exclude it from calculations without permanent deletion.550e8400-e29b-41d4-a716-446655440000204 No Content on successful deletion.
curl -X DELETE "https://api.dcycle.io/v1/invoices/550e8400-e29b-41d4-a716-446655440000" \
-H "x-organization-id: YOUR_ORGANIZATION_ID" \
-H "x-api-key: YOUR_API_KEY"
(empty response body)