Skip to content

Commit 5a2c31a

Browse files
committed
change user id to username
1 parent 31382a1 commit 5a2c31a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/terraform-docs-common/docs/cloud-docs/api-docs/team-members.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ curl \
148148
https://app.terraform.io/api/v2/teams/257525/relationships/organization-memberships
149149
```
150150

151-
## Delete a User from Team (With user ID)
151+
## Delete a User from Team (With username)
152152

153-
This method removes multiple users from a team using the user ID. Both users and teams must already exist. This method only removes a user from this team. It does not delete that user overall.
153+
This method removes multiple users from a team using the username. Both users and teams must already exist. This method only removes a user from this team. It does not delete that user overall.
154154

155155
`DELETE /teams/:team_id/relationships/users`
156156

@@ -167,7 +167,7 @@ Properties without a default value are required.
167167
| Key path | Type | Default | Description |
168168
| ------------- | ------ | ------- | ----------------------------------- |
169169
| `data[].type` | string | | Must be `"users"`. |
170-
| `data[].id` | string | | The ID of the user to remove from this team. |
170+
| `data[].id` | string | | The username of the user to remove from this team. |
171171

172172
### Sample Payload
173173

0 commit comments

Comments
 (0)