This document explains how to disable the Service Health API and stop event and
log processing.

You can disable the Service Health API through the Google Cloud console or
Google Cloud CLI. Event and log processing may take up to 24 hours to stop.

To disable the API through the Google Cloud console:

1. In the APIs and Services library, go to the
   [Service Health API](https://console.cloud.google.com/apis/library/servicehealth.googleapis.com).

   Alternatively, you can go to the [API Library](https://console.cloud.google.com/apis/library)
   and search "Service Health API".
2. Select the project.

3. Select the **DISABLE API** button.

To disable the API using the gcloud CLI:

1. [Install](https://docs.cloud.google.com/sdk/docs/install) and [initialize](https://docs.cloud.google.com/sdk/docs/initialize.md.txt) the
   gcloud CLI if you have not already done so.

2. Disable the Service Health API.

   ```bash
   gcloud services disable servicehealth.googleapis.com  --project PROJECT_ID
   ```