- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Manage your Datadog Fastly integration accounts and services directly through the Datadog API. See the Fastly integration page for more information.
GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accountshttps://api.datadoghq.eu/api/v2/integrations/fastly/accountshttps://api.ddog-gov.com/api/v2/integrations/fastly/accountshttps://api.datadoghq.com/api/v2/integrations/fastly/accountshttps://api.us3.datadoghq.com/api/v2/integrations/fastly/accountshttps://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts
List Fastly accounts.
This endpoint requires the integrations_read
permission.
OK
The expected response schema when getting Fastly accounts.
항목
유형
설명
data
[object]
The JSON:API data schema.
attributes [required]
object
Attributes object of a Fastly account.
name [required]
string
The name of the Fastly account.
services
[object]
A list of services belonging to the parent account.
id [required]
string
The ID of the Fastly service
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly account, a hash of the account name.
type [required]
enum
The JSON:API type for this API. Should always be fastly-accounts
.
Allowed enum values: fastly-accounts
default: fastly-accounts
{
"data": [
{
"attributes": {
"name": "test-name",
"services": [
{
"id": "6abc7de6893AbcDe9fghIj",
"tags": [
"myTag",
"myTag2:myValue"
]
}
]
},
"id": "abc123",
"type": "fastly-accounts"
}
]
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# List Fastly accounts returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
p api_instance.list_fastly_accounts()
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
POST https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accountshttps://api.datadoghq.eu/api/v2/integrations/fastly/accountshttps://api.ddog-gov.com/api/v2/integrations/fastly/accountshttps://api.datadoghq.com/api/v2/integrations/fastly/accountshttps://api.us3.datadoghq.com/api/v2/integrations/fastly/accountshttps://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts
Create a Fastly account.
This endpoint requires the manage_integrations
permission.
항목
유형
설명
data [required]
object
Data object for creating a Fastly account.
attributes [required]
object
Attributes object for creating a Fastly account.
api_key [required]
string
The API key for the Fastly account.
name [required]
string
The name of the Fastly account.
services
[object]
A list of services belonging to the parent account.
id [required]
string
The ID of the Fastly service
tags
[string]
A list of tags for the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-accounts
.
Allowed enum values: fastly-accounts
default: fastly-accounts
{
"data": {
"attributes": {
"api_key": "ExampleFastlyIntegration",
"name": "Example-Fastly-Integration",
"services": []
},
"type": "fastly-accounts"
}
}
CREATED
The expected response schema when getting a Fastly account.
항목
유형
설명
data
object
Data object of a Fastly account.
attributes [required]
object
Attributes object of a Fastly account.
name [required]
string
The name of the Fastly account.
services
[object]
A list of services belonging to the parent account.
id [required]
string
The ID of the Fastly service
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly account, a hash of the account name.
type [required]
enum
The JSON:API type for this API. Should always be fastly-accounts
.
Allowed enum values: fastly-accounts
default: fastly-accounts
{
"data": {
"attributes": {
"name": "test-name",
"services": [
{
"id": "6abc7de6893AbcDe9fghIj",
"tags": [
"myTag",
"myTag2:myValue"
]
}
]
},
"id": "abc123",
"type": "fastly-accounts"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Add Fastly account returns "CREATED" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
body = DatadogAPIClient::V2::FastlyAccountCreateRequest.new({
data: DatadogAPIClient::V2::FastlyAccountCreateRequestData.new({
attributes: DatadogAPIClient::V2::FastlyAccountCreateRequestAttributes.new({
api_key: "ExampleFastlyIntegration",
name: "Example-Fastly-Integration",
services: [],
}),
type: DatadogAPIClient::V2::FastlyAccountType::FASTLY_ACCOUNTS,
}),
})
p api_instance.create_fastly_account(body)
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}
Get a Fastly account.
This endpoint requires the integrations_read
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
OK
The expected response schema when getting a Fastly account.
항목
유형
설명
data
object
Data object of a Fastly account.
attributes [required]
object
Attributes object of a Fastly account.
name [required]
string
The name of the Fastly account.
services
[object]
A list of services belonging to the parent account.
id [required]
string
The ID of the Fastly service
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly account, a hash of the account name.
type [required]
enum
The JSON:API type for this API. Should always be fastly-accounts
.
Allowed enum values: fastly-accounts
default: fastly-accounts
{
"data": {
"attributes": {
"name": "test-name",
"services": [
{
"id": "6abc7de6893AbcDe9fghIj",
"tags": [
"myTag",
"myTag2:myValue"
]
}
]
},
"id": "abc123",
"type": "fastly-accounts"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Get Fastly account returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
# there is a valid "fastly_account" in the system
FASTLY_ACCOUNT_DATA_ID = ENV["FASTLY_ACCOUNT_DATA_ID"]
p api_instance.get_fastly_account(FASTLY_ACCOUNT_DATA_ID)
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
PATCH https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}
Update a Fastly account.
This endpoint requires the manage_integrations
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
항목
유형
설명
data [required]
object
Data object for updating a Fastly account.
attributes
object
Attributes object for updating a Fastly account.
api_key
string
The API key of the Fastly account.
name
string
The name of the Fastly account.
type
enum
The JSON:API type for this API. Should always be fastly-accounts
.
Allowed enum values: fastly-accounts
default: fastly-accounts
{
"data": {
"attributes": {
"api_key": "update-secret"
},
"type": "fastly-accounts"
}
}
OK
The expected response schema when getting a Fastly account.
항목
유형
설명
data
object
Data object of a Fastly account.
attributes [required]
object
Attributes object of a Fastly account.
name [required]
string
The name of the Fastly account.
services
[object]
A list of services belonging to the parent account.
id [required]
string
The ID of the Fastly service
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly account, a hash of the account name.
type [required]
enum
The JSON:API type for this API. Should always be fastly-accounts
.
Allowed enum values: fastly-accounts
default: fastly-accounts
{
"data": {
"attributes": {
"name": "test-name",
"services": [
{
"id": "6abc7de6893AbcDe9fghIj",
"tags": [
"myTag",
"myTag2:myValue"
]
}
]
},
"id": "abc123",
"type": "fastly-accounts"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Update Fastly account returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
# there is a valid "fastly_account" in the system
FASTLY_ACCOUNT_DATA_ID = ENV["FASTLY_ACCOUNT_DATA_ID"]
body = DatadogAPIClient::V2::FastlyAccountUpdateRequest.new({
data: DatadogAPIClient::V2::FastlyAccountUpdateRequestData.new({
attributes: DatadogAPIClient::V2::FastlyAccountUpdateRequestAttributes.new({
api_key: "update-secret",
}),
type: DatadogAPIClient::V2::FastlyAccountType::FASTLY_ACCOUNTS,
}),
})
p api_instance.update_fastly_account(FASTLY_ACCOUNT_DATA_ID, body)
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
DELETE https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}
Delete a Fastly account.
This endpoint requires the manage_integrations
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
OK
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Delete Fastly account returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
api_instance.delete_fastly_account("account_id")
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services
List Fastly services for an account.
This endpoint requires the integrations_read
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
OK
The expected response schema when getting Fastly services.
항목
유형
설명
data
[object]
The JSON:API data schema.
attributes
object
Attributes object for Fastly service requests.
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-services
.
Allowed enum values: fastly-services
default: fastly-services
{
"data": [
{
"attributes": {
"tags": [
"myTag",
"myTag2:myValue"
]
},
"id": "abc123",
"type": "fastly-services"
}
]
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# List Fastly services returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
p api_instance.list_fastly_services("account_id")
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
POST https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/serviceshttps://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services
Create a Fastly service for an account.
This endpoint requires the manage_integrations
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
항목
유형
설명
data [required]
object
Data object for Fastly service requests.
attributes
object
Attributes object for Fastly service requests.
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-services
.
Allowed enum values: fastly-services
default: fastly-services
{
"data": {
"attributes": {
"tags": [
"myTag",
"myTag2:myValue"
]
},
"id": "abc123",
"type": "fastly-services"
}
}
CREATED
The expected response schema when getting a Fastly service.
항목
유형
설명
data
object
Data object for Fastly service requests.
attributes
object
Attributes object for Fastly service requests.
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-services
.
Allowed enum values: fastly-services
default: fastly-services
{
"data": {
"attributes": {
"tags": [
"myTag",
"myTag2:myValue"
]
},
"id": "abc123",
"type": "fastly-services"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Add Fastly service returns "CREATED" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
body = DatadogAPIClient::V2::FastlyServiceRequest.new({
data: DatadogAPIClient::V2::FastlyServiceData.new({
attributes: DatadogAPIClient::V2::FastlyServiceAttributes.new({
tags: [
"myTag",
"myTag2:myValue",
],
}),
id: "abc123",
type: DatadogAPIClient::V2::FastlyServiceType::FASTLY_SERVICES,
}),
})
p api_instance.create_fastly_service("account_id", body)
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
GET https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}
Get a Fastly service for an account.
This endpoint requires the integrations_read
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
service_id [required]
string
Fastly Service ID.
OK
The expected response schema when getting a Fastly service.
항목
유형
설명
data
object
Data object for Fastly service requests.
attributes
object
Attributes object for Fastly service requests.
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-services
.
Allowed enum values: fastly-services
default: fastly-services
{
"data": {
"attributes": {
"tags": [
"myTag",
"myTag2:myValue"
]
},
"id": "abc123",
"type": "fastly-services"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Get Fastly service returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
p api_instance.get_fastly_service("account_id", "service_id")
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
PATCH https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}
Update a Fastly service for an account.
This endpoint requires the manage_integrations
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
service_id [required]
string
Fastly Service ID.
항목
유형
설명
data [required]
object
Data object for Fastly service requests.
attributes
object
Attributes object for Fastly service requests.
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-services
.
Allowed enum values: fastly-services
default: fastly-services
{
"data": {
"attributes": {
"tags": [
"myTag",
"myTag2:myValue"
]
},
"id": "abc123",
"type": "fastly-services"
}
}
OK
The expected response schema when getting a Fastly service.
항목
유형
설명
data
object
Data object for Fastly service requests.
attributes
object
Attributes object for Fastly service requests.
tags
[string]
A list of tags for the Fastly service.
id [required]
string
The ID of the Fastly service.
type [required]
enum
The JSON:API type for this API. Should always be fastly-services
.
Allowed enum values: fastly-services
default: fastly-services
{
"data": {
"attributes": {
"tags": [
"myTag",
"myTag2:myValue"
]
},
"id": "abc123",
"type": "fastly-services"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Update Fastly service returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
body = DatadogAPIClient::V2::FastlyServiceRequest.new({
data: DatadogAPIClient::V2::FastlyServiceData.new({
attributes: DatadogAPIClient::V2::FastlyServiceAttributes.new({
tags: [
"myTag",
"myTag2:myValue",
],
}),
id: "abc123",
type: DatadogAPIClient::V2::FastlyServiceType::FASTLY_SERVICES,
}),
})
p api_instance.update_fastly_service("account_id", "service_id", body)
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
DELETE https://api.ap1.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.datadoghq.eu/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.ddog-gov.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.us3.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}https://api.us5.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}
Delete a Fastly service for an account.
This endpoint requires the manage_integrations
permission.
이름
유형
설명
account_id [required]
string
Fastly Account id.
service_id [required]
string
Fastly Service ID.
OK
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Delete Fastly service returns "OK" response
require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new
api_instance.delete_fastly_service("account_id", "service_id")
First install the library and its dependencies and then save the example to example.rb
and run following commands:
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"