Rate this page:
Manage the members of a team
POST /public/teams/v1/org/{orgId}/teams/{teamId}/members/add
The account IDs specified will be added to the team.
string
The ID of the organisation of the team you are adding members to.
string
The ID of the team you are adding members to.
Array<PublicApiMembership>
1
, Max items: 50
, Unique items: true
1 2 3 4 5 6 7 8 9 10 11
curl --request POST \
--url 'https://localhost:8080/public/teams/v1/org/{orgId}/teams/{teamId}/members/add' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{
"members": [
{
"accountId": "<string>"
}
]
}'
Team members were added successfully, at least partially. See the 'members' field of the response for any successful additions, and the 'errors' field of the response for any failed additions.
Content type | Value |
---|---|
*/* |
POST /public/teams/v1/org/{orgId}/teams/{teamId}/members/remove
The account IDs specified will be removed from the team.
string
The ID of the organisation of the team you are removing members from.
string
The ID of the team you are removing members from.
Array<PublicApiMembership>
1
, Max items: 50
, Unique items: true
1 2 3 4 5 6 7 8 9 10 11
curl --request POST \
--url 'https://localhost:8080/public/teams/v1/org/{orgId}/teams/{teamId}/members/remove' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{
"members": [
{
"accountId": "<string>"
}
]
}'
Team members were removed successfully, at least partially. See the 'errors' field of the response for any failed removals.
Content type | Value |
---|---|
*/* |
Rate this page: