Skip to content

Commit 037178e

Browse files
jkodroffclaude
andauthored
Fix incorrect REST API endpoint URIs in documentation (#16311)
Corrected three REST API endpoint path errors: - OIDC issuers: Changed /api/{organization}/ to /api/orgs/{organization}/ - Webhooks: Added missing 'stacks/' segment to stack webhook deletion endpoint - Deployments: Fixed two endpoints using 'stack' instead of 'stacks' These corrections ensure that users have the correct API paths for making requests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 75a3293 commit 037178e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/docs/reference/cloud-rest-api/deployments/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ POST https://api.pulumi.com/api/orgs/{organization}/deployments/resume
804804
```shell
805805
curl -i -XPOST -H "Content-Type: application/json" \
806806
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
807-
--location "https://api.pulumi.com/api/stack/my-org/aws-ts-s3-folder/dev/deployments/resume"
807+
--location "https://api.pulumi.com/api/stacks/my-org/aws-ts-s3-folder/dev/deployments/resume"
808808
```
809809

810810
## Get Deployments Metadata
@@ -834,7 +834,7 @@ GET https://api.pulumi.com/api/orgs/{organization}/deployments/metadata
834834
```shell
835835
curl -XGET -H "Content-Type: application/json" \
836836
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
837-
--location "https://api.pulumi.com/api/stack/my-org/aws-ts-s3-folder/dev/deployments/metadata"
837+
--location "https://api.pulumi.com/api/stacks/my-org/aws-ts-s3-folder/dev/deployments/metadata"
838838
```
839839

840840
#### Response

content/docs/reference/cloud-rest-api/oidc-issuers/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ curl \
177177
-H "Accept: application/vnd.pulumi+8" \
178178
-H "Content-Type: application/json" \
179179
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
180-
https://api.pulumi.com/api/{organization}/oidc/issuers
180+
https://api.pulumi.com/api/orgs/{organization}/oidc/issuers
181181
```
182182

183183
## Get the issuer's auth policies

content/docs/reference/cloud-rest-api/webhooks/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ curl \
222222
-H "Content-Type: application/json" \
223223
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
224224
--request DELETE \
225-
https://api.pulumi.com/api/{organization}/{project}/{stack}/hooks/{webhookname}
225+
https://api.pulumi.com/api/stacks/{organization}/{project}/{stack}/hooks/{webhookname}
226226
```
227227

228228
## Ping Webhook

0 commit comments

Comments
 (0)