Skip to content

Commit bc7c11e

Browse files
authored
fix(docs): Fix SENTRY_AUTH_TOKEN quoting (#15183)
Fixes DOCS-9NS
1 parent 833cb56 commit bc7c11e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/api/guides/teams-tutorial.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can find your organization ID in the browser URL of your Sentry instance. Fo
4646

4747
```bash
4848
curl "https://sentry.io/api/0/organizations/$SENTRY_ORG_ID/teams/?detailed=0" \
49-
-H 'Authorization: Bearer $SENTRY_AUTH_TOKEN'
49+
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
5050
```
5151

5252
1. Here's an example of what the output of the command should be, for an organization that has a team called "test-team":
@@ -93,7 +93,7 @@ You can find your organization ID in the browser URL of your Sentry instance. Fo
9393

9494
```bash
9595
curl "https://sentry.io/api/0/organizations/$SENTRY_ORG_ID/teams/?detailed=1" \
96-
-H 'Authorization: Bearer $SENTRY_AUTH_TOKEN'
96+
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
9797
```
9898

9999
Here's an example of what that output might look like if "test-team" has one associated project named "test-project":
@@ -154,7 +154,7 @@ Now that you know what teams already exist in your org, use the [Create a New Te
154154

155155
```bash
156156
curl -d "name=tutorial-team" -X POST "https://sentry.io/api/0/organizations/$SENTRY_ORG_ID/teams/" \
157-
-H 'Authorization: Bearer $SENTRY_AUTH_TOKEN'
157+
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
158158
```
159159

160160
The `name` query parameter means the name of the created team should be "tutorial-team".
@@ -197,7 +197,7 @@ Now that you know what teams already exist in your org, use the [Create a New Te
197197

198198
```bash
199199
curl -d "name=tutorial-team&slug=tutorial-team-slug" -X POST "https://sentry.io/api/0/organizations/$SENTRY_ORG_ID/teams/" \
200-
-H 'Authorization: Bearer $SENTRY_AUTH_TOKEN'
200+
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
201201
```
202202

203203
## List an Organization's Teams
@@ -210,7 +210,7 @@ Finally, call the [List an Organization's Teams](/api/teams/list-an-organization
210210

211211
```bash
212212
curl "https://sentry.io/api/0/organizations/$SENTRY_ORG_ID/teams/?detailed=0" \
213-
-H 'Authorization: Bearer $SENTRY_AUTH_TOKEN'
213+
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
214214
```
215215

216216
1. Your response should contain an entry for your new "tutorial-team" and look something like this:

0 commit comments

Comments
 (0)