Creates a group by given group parameter
string
Returns full representation of a Jira group in JSON format.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/group' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Deletes a group by given group parameter
string
Requiredstring
Returned if the group was deleted.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/group?groupname={groupname}' \
--user 'email@example.com:<api_token>'
Returns a paginated list of users who are members of the specified group and its subgroups
string
string
string
Requiredstring
Returns a paginated list of users in the group
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/group/member?groupname={groupname}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Adds given user to a group
string
Requiredstring
Returns full representation of a Jira group in JSON format.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/group/user?groupname={groupname}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Removes given user from a group
string
Requiredstring
RequiredIf the user was removed from the group.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/group/user?groupname={groupname}&username={username}' \
--user 'email@example.com:<api_token>'
Rate this page: