Skip to content

Commit

Permalink
Merge pull request #187 from juliocamarero/fix_examples
Browse files Browse the repository at this point in the history
Fix example in serverless docs
  • Loading branch information
florent-leborgne authored May 15, 2024
2 parents 7719829 + a47fc57 commit f17d77c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/manage-your-project-rest-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ curl -H "Authorization: ApiKey $API_KEY" \
"https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch" \
-XPOST --data '{
"name": "My project", [^1]
"region_id": "aws-eu-west-1" [^2]
"region_id": "aws-us-east-1" [^2]
}'
```
[^1]: Replace **`My project`** with a more descriptive name in this call.
Expand All @@ -84,8 +84,8 @@ Example of `Create project` response:
{
"id": "cace8e65457043698ed3d99da2f053f6",
"endpoints": {
"elasticsearch": "https://sample-project-c990cb.es.us-east-1.aws.staging.elastic.cloud",
"kibana": "https://sample-project-c990cb-c990cb.kb.us-east-1.aws.staging.elastic.cloud"
"elasticsearch": "https://sample-project-c990cb.es.us-east-1.aws.elastic.cloud",
"kibana": "https://sample-project-c990cb-c990cb.kb.us-east-1.aws.elastic.cloud"
},
"credentials": {
"username": "admin",
Expand Down

0 comments on commit f17d77c

Please sign in to comment.