change
Member
Role
@PatchMapping(headers = "token",
path = ""/{" + TEAM_IDENTIFIER_KEY + "}/" + MEMBERS_KEY + "/{" + MEMBER_IDENTIFIER_KEY + "}" + CHANGE_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
The payload of the request
{
"role" : ["the role to set"] -> [{TeamRole }],
}
Content copied to clipboard