change
Member
Role
@PatchMapping(path = ""/{" + GROUP_IDENTIFIER_KEY + "}" + CHANGE_MEMBER_ROLE_ENDPOINT",
headers = []
)
Method to change the role of a group member
Return
the result of the request as String
Parameters
id
The identifier of the user
token
The token of the user
groupId
The identifier of the group where change the role of a member
payload
: payload of the request
{
"id" : "identifier of the member", -> [String]
"role": "new role of the member" -> [InvitationStatus]
}
Content copied to clipboard