updateMemberRole
@PatchMapping(headers = "token", path = ""/{" + TEAM_IDENTIFIER_KEY + "}/" + MEMBERS_KEY + "/{" + MEMBER_IDENTIFIER_KEY + "}" + UPDATE_MEMBER_ROLE_ENDPOINT")
Method to change the role of a member
Return
the response of the request as String
Parameters
token
: the token of the user
userId
: the identifier of the user
teamId
: the identifier of the team where change the member role
memberId
: the identifier of the member to change its role
payload
: payload of the request
{
"role" : ["the role to set"] -> [{TeamRole}],
}
Content copied to clipboard