Skip to main content

Removes local team membership

POST 

https://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

Body

required
    membershipIds string[]required

Responses

A successful response.

Schema
    membershipIds string[]
curl -L -X GET 'https://apis.<domain>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://apis.<domain>
Parameters
— pathrequired
Body required
{
"id": "admins",
"membership_ids": [
"527ed96f-2ecb-4f8f-abd7-0bf6511459ac",
"353a62d4-85fa-4423-b12a-f6608a562ae9"
]
}