Skip to content

Delete an AI Template

Request

Delete an AI template. Returns 204; the deletion takes effect (the template disappears from the web app).

Known issue: deletion appears to be a soft-delete that the API read path does not filter — after deleting, the template still resolves on GET /flows/api/ai-templates/{uuid} and still appears in List AI Templates, even though it is gone from the UI (verified 2026-07-05). Treat a template as deleted once you receive the 204; don't rely on List/GET to confirm removal. See KNOWN_ISSUES.md.

Security
bearerAuth
Path
uuidstringrequired

Resource UUID.

DELETE
/flows/api/ai-templates/{uuid}
curl -i -X DELETE \
  'https://leadgen.grinfi.io/flows/api/ai-templates/{uuid}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Deleted.