Organizers of South Boston’s annual St. Patrick’s Day parade are scheduled to appear in federal court Tuesday for a hearing on their request to stop city officials from shortening the parade route.

The Allied War Veterans Council of South Boston are set for a 2 p.m. hearing in US District Court in Boston, where they have requested a temporary restraining order that would require the city to approve their permit for a longer parade along the route it has traditionally travelled.

The hearing comes as part of a lawsuit filed Monday, in which the organizers say city officials violated their rights to free speech and assembly by shortening the parade route.