Search + K

Command Palette

Search for a command to run...

Sign In

Delete component templates

DELETE /_component_template/{name}
Copy endpoint

Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.

Required authorization

  • Cluster privileges: manage_index_templates

Parameters

path Path Parameters

Name Type
name required

Comma-separated list or wildcard expression of component template names used to limit the request.

type TypesNames = type TypesName = string | type TypesName = string[]

query Query Parameters

Name Type
master_timeout

Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

type TypesDuration = string | "-1" | "0"
timeout

Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

type TypesDuration = string | "-1" | "0"

Responses

200 application/json
interface TypesAcknowledgedResponseBase {
acknowledged: boolean;
}