---
title: Fastly インテグレーション
description: Datadog API を使用して Datadog Fastly インテグレーションアカウントとサービスを直接管理します。詳細については、Fastly インテグレーションページ を参照してください。
breadcrumbs: ドキュメント > API > Fastly インテグレーション
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/llms.txt).

# Fastly インテグレーション

Datadog API を使用して Datadog Fastly インテグレーションアカウントとサービスを直接管理します。詳細については、[Fastly インテグレーションページ](https://docs.datadoghq.com/integrations/fastly.md) を参照してください。

## [Fastly アカウントを一覧表示する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/list-fastly-accounts.md)

| Datadog site      | API endpoint                                                          |
| ----------------- | --------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/integrations/fastly/accounts     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/integrations/fastly/accounts      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/integrations/fastly/accounts      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts  |

## [Fastly アカウントを追加する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/add-fastly-account.md)

| Datadog site      | API endpoint                                                           |
| ----------------- | ---------------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/integrations/fastly/accounts     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/integrations/fastly/accounts      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/integrations/fastly/accounts      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts  |

## [Fastly アカウントを取得する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/get-fastly-account.md)

| Datadog site      | API endpoint                                                                       |
| ----------------- | ---------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}  |

## [Fastly アカウントを更新する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/update-fastly-account.md)

| Datadog site      | API endpoint                                                                         |
| ----------------- | ------------------------------------------------------------------------------------ |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}  |

## [Fastly アカウントを削除する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/delete-fastly-account.md)

| Datadog site      | API endpoint                                                                          |
| ----------------- | ------------------------------------------------------------------------------------- |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}      |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| uk1.datadoghq.com | DELETE https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id} |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}  |

## [Fastly サービスを一覧表示する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/list-fastly-services.md)

| Datadog site      | API endpoint                                                                                |
| ----------------- | ------------------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services  |

## [Fastly サービスを追加する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/add-fastly-service.md)

| Datadog site      | API endpoint                                                                                 |
| ----------------- | -------------------------------------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services  |

## [Fastly サービスを取得する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/get-fastly-service.md)

| Datadog site      | API endpoint                                                                                             |
| ----------------- | -------------------------------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}  |

## [Fastly サービスを更新する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/update-fastly-service.md)

| Datadog site      | API endpoint                                                                                               |
| ----------------- | ---------------------------------------------------------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}  |

## [Fastly サービスを削除する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/fastly-integration/delete-fastly-service.md)

| Datadog site      | API endpoint                                                                                                |
| ----------------- | ----------------------------------------------------------------------------------------------------------- |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}      |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| uk1.datadoghq.com | DELETE https://api.uk1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id} |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}  |
