Skip to content

Commit

Permalink
updating documention regarding TOKEN and filename references (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
munnep authored Nov 26, 2024
1 parent c11debb commit 2dc46a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions website/docs/cloud-docs/registry/publish-providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Use the [Create a Provider endpoint](/terraform/cloud-docs/api-docs/private-regi

```shell-session
$ curl \
--header "Authorization: Bearer TOKEN" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/vnd.api+json" \
--request POST \
--data @provider.json \
Expand Down Expand Up @@ -99,7 +99,7 @@ Use the [Add a GPG key endpoint](/terraform/cloud-docs/api-docs/private-registry

```shell-session
$ curl \
--header "Authorization: Bearer TOKEN" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/vnd.api+json" \
--request POST \
--data @key.json \
Expand Down Expand Up @@ -133,10 +133,10 @@ Use the [Create a Provider Version endpoint](/terraform/cloud-docs/api-docs/priv

```shell-session
$ curl \
--header "Authorization: Bearer TOKEN" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/vnd.api+json" \
--request POST \
--data @payload.json \
--data @version.json \
https://app.terraform.io/api/v2/organizations/ORG_NAME/registry-providers/private/ORG_NAME/aws/versions
```

Expand Down Expand Up @@ -196,10 +196,10 @@ Use the [Create a Provider Platform endpoint](/terraform/cloud-docs/api-docs/pri

```shell-session
$ curl \
--header "Authorization: Bearer TOKEN" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/vnd.api+json" \
--request POST \
--data @payload.json \
--data @platform.json \
https://app.terraform.io/api/v2/organizations/ORG_NAME/registry-providers/private/ORG_NAME/aws/versions/5.14.0/platforms
```

Expand Down

0 comments on commit 2dc46a7

Please sign in to comment.