Create a field definition

Server: https://{kibana_url}
  • POST /api/cases/field_definitions
  • POST /s/{space_id}/api/cases/field_definitions

Refer to Spaces for more information.

Creates a field definition in the field library. 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. Use dry_run=true to validate the request without writing anything.

Query Parameters

dry_run boolean · default: false

When true, runs authorization, body, and name-uniqueness validation without creating the field definition. Returns { "valid": true } on success.

Responses