def METHOD_NAME(
    make_organization_and_user_with_token,
    make_alert_receive_channel,
):
    organization, _, token = make_organization_and_user_with_token()
    alert_receive_channel = make_alert_receive_channel(
        organization=organization, integration=AlertReceiveChannel.INTEGRATION_ALERTMANAGER
    )
    org_id = organization.id
    organization.delete()
    deleted_organization = Organization.objects_with_deleted.get(id=org_id)
    # check if org soft-deleted
    assert deleted_organization.deleted_at is not None
    # check if public api responds with 404
    client = APIClient()
    url = reverse("api-public:integrations-list")
    response = client.get(url, format="json", HTTP_AUTHORIZATION=f"{token}")
    assert response.status_code == 404
    # check if alert receiver view responds with 403
    url = reverse("integrations:alertmanager", kwargs={"alert_channel_key": alert_receive_channel.token})
    data = {"a": "b"}
    response = client.post(url, data, format="json")
    assert response.status_code == 403