Skip to content

Commit 17eb6d4

Browse files
Update type to be plural (authentication-tokens rather than authentication-token)
1 parent 0aeb1c7 commit 17eb6d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
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 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 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 create a **single**, valid token at a time. Generating a new legacy token when one already exists for the team revokes the existing legacy token, replacing it with a new team token.
4444

@@ -65,7 +65,7 @@ This POST endpoint requires a JSON object with the following properties as a req
6565

6666
| Key path | Type | Default | Description |
6767
| ----------------------------- | ------ | ------- | --------------------------------------------------------------------------------------------------------------- |
68-
| `data.type` | string | | Must be `"authentication-token"`. |
68+
| `data.type` | string | | Must be `"authentication-tokens"`. |
6969
| `data.attributes.description` | string | | The description of the team token. Each description **must** be unique within the context of the team. |
7070
| `data.attributes.expired-at` | string | `null` | The UTC date and time that the Team Token will expire, in ISO 8601 format. If omitted or set to `null` the token will never expire. |
7171

@@ -74,7 +74,7 @@ This POST endpoint requires a JSON object with the following properties as a req
7474
```json
7575
{
7676
"data": {
77-
"type": "authentication-token",
77+
"type": "authentication-tokens",
7878
"attributes": {
7979
"description": "Team API token for team ABC",
8080
"expired-at": "2023-04-06T12:00:00.000Z"

0 commit comments

Comments
 (0)