Logo
Elasticsearch API Documentation

Get deployment templates

GET {{baseUrl}}/deployments/templates?metadata=minim voluptate&stack_version=minim voluptate&region=minim voluptate

Retrieves all deployment templates.

 

Body PARAM

Key Datatype Required Description 
metadata
string An optional key/value pair in the form of (key:value) that will act as a filter and exclude any templates that do not have a matching metadata item associated.
stack_version
string If present, it will cause the returned deployment templates to be adapted to return only the elements allowed in that version.
region
string (Required) Region of the deployment templates



HEADERS

Key Datatype Required Description 




RESPONSES

status OK





Curl
curl -X GET 'https://api.elastic-cloud.com/api/v1//deployments/templates?metadata=minim voluptate&stack_version=minim voluptate&region=minim voluptate?metadata=minim voluptate&stack_version=minim voluptate&region=minim voluptate'

ENDPOINTS