Delete a case template
- Base URL
-
https://{kibana_url}
- DELETE /api/cases/templates/{template_id}
- DELETE /s/{space_id}/api/cases/templates/{template_id}
https://{kibana_url}
Soft-deletes a case template (all versions). Existing cases keep their pinned template reference; the template stops appearing in the case creation flow and in find responses. You must have the "Manage templates" sub-privilege for the Cases feature of the owning solution. Requires the Cases feature to be enabled in the space.
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
The template was deleted.
Authorization information is missing or invalid.
The user does not have the manage templates privilege for the owner.
https://{kibana_url}