Skip to content

Commit e10b698

Browse files
committed
ref(cells): Remove the legacy org invite route
this removes the pre-silo organization invite path. this fundamentally does not work in the regional or cell world -- all org specific routes need to contain the org identifier (id or slug) in order to target the correct cell. since we have not sent invites using this path for many years, it should be safe to remove this is a prequisite to #112053 and other codebase cleanups
1 parent 689fe1b commit e10b698

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sentry/api/urls.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,11 +3791,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
37913791
DataExportNotificationsEndpoint.as_view(),
37923792
name="sentry-api-0-data-export-notifications",
37933793
),
3794-
re_path(
3795-
r"^accept-invite/(?P<member_id>[^/]+)/(?P<token>[^/]+)/$",
3796-
AcceptOrganizationInvite.as_view(),
3797-
name="sentry-api-0-accept-organization-invite",
3798-
),
37993794
re_path(
38003795
r"^notification-defaults/$",
38013796
NotificationDefaultsEndpoints.as_view(),

0 commit comments

Comments
 (0)