Create a case template

Server: 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.

Query Parameters

dry_run boolean · default: false

When true, validates the request without creating the template and returns {"valid": true}.

Responses