Create a case template
- Base URL
-
https://{kibana_url}
- POST /api/cases/templates
Creates a case template from a YAML definition. You must have the "Manage templates" sub-privilege for the Cases feature of the owning solution. Set dry_run=true to run the full validation (body, YAML definition, name uniqueness, authorization) without creating anything. Requires the Cases feature to be enabled in the space.
Responses
The request body, YAML definition, or template name is invalid, or a resource limit was exceeded (max 200 templates per owner, max 200 fields per template).
Authorization information is missing or invalid.
The user does not have the manage templates privilege for the owner.