Removes local team membership
POSThttps://apis.<domain>/iam/teams/:id/users:remove
Removes a list of users from a local team. Users are removed by their membership_id. The request currently does not validate that membership_id maps to a real user.
The membership_id for users equals their identity id.
Authorization Action:
iam:teamUsers:delete
Request
Path Parameters
id stringrequired
- application/json
Body
required
membershipIds string[]required
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
membershipIds string[]
{
"membership_ids": [
"527ed96f-2ecb-4f8f-abd7-0bf6511459ac",
"353a62d4-85fa-4423-b12a-f6608a562ae9"
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://apis.<domain>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'