def METHOD_NAME(self, request: Request, team) -> Response:
    """
    Delete a Team
    `````````````
    Schedules a team for deletion.
    **Note:** Deletion happens asynchronously and therefore is not
    immediate. Teams will have their slug released while waiting for deletion.
    """
    suffix = uuid4().hex
    new_slug = f"{team.slug}-{suffix}"[0:50]
    updated = Team.objects.filter(id=team.id, status=TeamStatus.ACTIVE).update(
        slug=new_slug, status=TeamStatus.PENDING_DELETION
    )
    if updated:
        scheduled = RegionScheduledDeletion.schedule(team, days=0, actor=request.user)
        self.create_audit_entry(
            request=request,
            organization=team.organization,
            target_object=team.id,
            event=audit_log.get_event_id("TEAM_REMOVE"),
            data=team.get_audit_log_data(),
            transaction_id=scheduled.id,
        )
    return Response(status=204)