Returns a set of account IDs who are members of the team, alongside a pagination cursor to retrieve the next page (if available).
string
Requiredstring
Requiredstring
Optional Relay-style pagination controls. Can be omitted if empty.
string
integer
Team members were fetched successfully.
1
2
3
4
5
6
7
8
curl --request POST \
--url 'https://sitename.atlassian.net/gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/members' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{
"after": "<string>",
"first": 40
}'
The account IDs specified will be added to the team.
string
Requiredstring
RequiredA set of account IDs to add as members.
array<PublicApiMembership>
RequiredTeam 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.
1
2
3
4
5
6
7
8
9
10
11
curl --request POST \
--url 'https://sitename.atlassian.net/gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/members/add' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{
"members": [
{
"accountId": "<string>"
}
]
}'
The account IDs specified will be removed from the team.
string
Requiredstring
RequiredA set of account IDs to remove as members.
array<PublicApiMembership>
RequiredTeam members were removed successfully, at least partially. See the 'errors' field of the response for any failed removals.
1
2
3
4
5
6
7
8
9
10
11
curl --request POST \
--url 'https://sitename.atlassian.net/gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/members/remove' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{
"members": [
{
"accountId": "<string>"
}
]
}'
Rate this page: