Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/api/guides/teams-tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ You can find your organization ID in the browser URL of your Sentry instance. Fo

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

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

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

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

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

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

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

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

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

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