Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
disable_product | DELETE /enabled-products/{product_id}/services/{service_id} | Disable a product |
enable_product | PUT /enabled-products/{product_id}/services/{service_id} | Enable a product |
get_enabled_product | GET /enabled-products/{product_id}/services/{service_id} | Get enabled product |
Disable a product on a service. Supported product IDs: brotli_compression
,domain_inspector
,fanout
,image_optimizer
,origin_inspector
, and websockets
.
let cfg = &Configuration::default();
let params = DisableProductParams {
// parameters
};
disable_product(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
product_id | String | [required] | ||
service_id | String | Alphanumeric string identifying the service. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Enable a product on a service. Supported product IDs: brotli_compression
,domain_inspector
,fanout
,image_optimizer
,origin_inspector
, and websockets
.
let cfg = &Configuration::default();
let params = EnableProductParams {
// parameters
};
enable_product(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
product_id | String | [required] | ||
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::EnabledProductResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get enabled product on a service. Supported product IDs: brotli_compression
,domain_inspector
,fanout
,image_optimizer
,origin_inspector
, and websockets
.
let cfg = &Configuration::default();
let params = GetEnabledProductParams {
// parameters
};
get_enabled_product(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
product_id | String | [required] | ||
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::EnabledProductResponse
- Content-Type: Not defined
- Accept: application/json