Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Fix invalid example in ESC REST API docs (#4137)
Browse files Browse the repository at this point in the history
The create example included an incorrect `curl` command, which included YAML contents in the POST method. The API actually only supports updating the environment content in the PATCH method.
  • Loading branch information
lblackstone authored Apr 3, 2024
1 parent b193b1f commit d88066d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,6 @@ curl \
-H "Content-Type: application/json" \
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
--request POST \
--data '<yaml content>' \
https://api.pulumi.com/api/preview/environments/{organization}/{environment}
```

Expand Down

0 comments on commit d88066d

Please sign in to comment.