Add a user to a specified group
Adds given user to a group
POST
/api/2/group/userAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Query parameters
groupnamestringrequiredA name of requested group.
Request body
application/jsonnamestringResponses
201
Returns full representation of a Jira group in JSON format.
namestringselfstring<uri>usersPagedListWrapperUserJsonBeanApplicationUserShow propertiesHide properties
backingListSizeinteger<int32>callbackListWrapperCallbackUserJsonBeanitemsUserJsonBean[]Show propertiesHide properties
Array of
UserJsonBeanactivebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringmaxResultsinteger<int32>pagingCallbackListWrapperCallbackUserJsonBeansizeinteger<int32>400
Returned if user requested an empty group name or the user already belongs to the group.
401
Returned if the current user is not authenticated.
403
Returned if the current user does not have administrator permissions.
404
Returned if the requested group was not found or requested user was not found.