Update an Elasticsearch project
Only the fields included in the body of the request will be updated.
Body Required
The Elasticsearch project patch body
-
Descriptive name for a project.
Minimum length is
1
, maximum length is255
. -
A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
Minimum length is
1
, maximum length is50
. Format should match the following pattern:^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$
. -
Configuration for entire set of capabilities that make the data searchable in Elasticsearch. It can be passed as
null
to reset configuration to the default values. -
traffic filters IDs
traffic filters association info
PATCH /api/v1/serverless/projects/elasticsearch/{id}
curl \ --request PATCH 'https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch/{id}' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --header "If-Match: string" \ --data '{"name":"Example project"}'
Request example
{ "name": "Example project" }