Version 4.0.26.18

> [!NOTE]
> **Note:** These docs are for an older version of the API. The API reference is also available for [the latest version, 4.0.26.22](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest).

### Delete a specific theme by id

This operation permanently deletes the identified theme from the database.

Because multiple themes can have the same name (with different activation time spans) themes can only be deleted by ID.

All IDs associated with a theme name can be retrieved by searching for the theme name with [Theme Search](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/methods/Theme/search).

**Note** : Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or <https://console.cloud.google.com/support/cases/> to update your license for this feature.

## Request

DELETE /themes/{theme_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... theme_id string Id of theme

## Response

### 204: Successfully deleted.

Datatype Description (string) string

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link