curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/group/user' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountId": "5b10ac8d82e05b22cc7d4ef5"
}'
{
"expand": "string",
"groupId": "string",
"name": "string",
"self": "http://example.com",
"users": {
"end-index": 0,
"items": [
{}
],
"max-results": 0,
"size": 0,
"start-index": 0
}
}
groupId
is recommended to identify a group.groupId
parameter.groupName
parameter.[start-index:end-index]
to the expand request. For example, to access the next 50 users, use?expand=users[51:100]
.