Skip to content

Commit 919ae1a

Browse files
Apply code review suggestions
1 parent 64ecdf0 commit 919ae1a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

website/docs/cloud-docs/api-docs/team-tokens.mdx

+9-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ description: >-
3838

3939
# Team tokens API reference
4040

41-
Team API tokens grant access to a team's workspaces. Teams are not limited to a single token, and can have multiple, valid tokens at a time. Team tokens are not are not associated with a specific user.
41+
Team API tokens grant access to a team's workspaces. Teams are not limited to a single token, and can have multiple tokens at a time. Team tokens are not are not associated with a specific user.
4242

4343
Teams relying on the [**legacy**](/terraform/cloud-docs/api-docs/team-tokens#legacy-team-tokens-api-reference) team token API (`/teams/authentication-token`), can only have a **single**, valid token at a time. Generating a new legacy token revokes any previously existing tokens, replacing it with the new team token.
4444

@@ -52,7 +52,7 @@ Generates a new team token.
5252
| :----- | :----------------------------------- |
5353
| POST | /teams/:team_id/authentication-tokens |
5454

55-
This endpoint returns the secret text of the new authentication token. You can only access this token when you create it and can not recover it later.
55+
This endpoint returns the secret text of the new authentication token. You can only access the secret when you create it and cannot recover it later.
5656

5757
### Parameters
5858

@@ -127,7 +127,7 @@ curl \
127127

128128
```
129129

130-
## Delete the team token
130+
## Delete a team token
131131

132132
| Method | Path |
133133
| :----- | :----------------------------------- |
@@ -296,15 +296,19 @@ curl \
296296

297297
# Legacy team tokens API reference
298298

299+
Legacy team API tokens grant access to a team's workspaces. Each team can have an API token that is not associated with a specific user.
300+
You can create and delete team tokens and list an organization's team tokens.
301+
The [team tokens API](/terraform/cloud-docs/api-docs/team-tokens) includes the same functionality as legacy team tokens, and allows you to provision multiple tokens per team.
302+
299303
## Generate a new team token
300304

301305
Generates a new team token and overrides existing token if one exists.
302306

303307
| Method | Path |
304308
| :----- | :----------------------------------- |
305-
| POST | /teams/:team_id/authentication-tokens |
309+
| POST | /teams/:team_id/authentication-token |
306310

307-
This endpoint returns the secret text of the new authentication token. You can only access this token when you create it and can not recover it later.
311+
This endpoint returns the secret text of the new authentication token. You can only access the secret when you create it and cannot recover it later.
308312

309313
### Parameters
310314

0 commit comments

Comments
 (0)