updateMembership
@FormUrlEncoded
@PATCH(value = "organizations/{organization_id}/memberships/{user_id}")
Updates the role of an existing member in an organization.
Return
A ClerkResult containing either the updated OrganizationMembership on success or a ClerkErrorResponse on failure
Parameters
organizationId
The unique identifier of the organization
userId
The unique identifier of the user whose membership to update
role
The new role to assign to the user