lib/workos/user_management.rb in workos-5.2.0 vs lib/workos/user_management.rb in workos-5.2.1

- old
+ new

@@ -864,14 +864,14 @@ # # @param [String] organization_membership_id The ID of the Organization Membership. # @param [String] role_slug The slug of the role to grant to this membership. # # @return [WorkOS::OrganizationMembership] - def update_organization_membership(organization_membership_id:, role_slug:) + def update_organization_membership(id:, role_slug:) request = put_request( path: "/user_management/organization_memberships/#{id}", body: { - organization_membership_id: organization_membership_id, + id: id, role_slug: role_slug, }, auth: true, )