---
title: Brotli Compression
summary: These endpoints allow you to enable, disable, and check the enablement status of the Brotli Compression product on your services.
url: https://www.fastly.com/documentation/reference/api/products/brotli_compression
---

These endpoints allow you to enable, disable, and check the enablement status of the Brotli Compression product on your services.

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `_links` | object |  |
| `product` | object |  |
| `service` | object |  |
| `customer` | object |  |
| `services` | array | A list of services with Brotli Compression enabled. |

## API endpoints

### Get product enablement status

**GET** `/enabled-products/v1/brotli_compression/services/{service_id}`

Get the enablement status of the Brotli Compression product on a service.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |

### Enable product

**PUT** `/enabled-products/v1/brotli_compression/services/{service_id}`

Enable the Brotli Compression product on a service.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |

### Disable product

**DELETE** `/enabled-products/v1/brotli_compression/services/{service_id}`

Disable the Brotli Compression product on a service.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `service_id` | string | path | Yes | Alphanumeric string identifying the service. |

### Get services with product enabled

**GET** `/enabled-products/v1/brotli_compression/services`

Get all the services which have the Brotli Compression product enabled.

