- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Configure your Datadog Email Domain Allowlist directly through the Datadog API. The Email Domain Allowlist controls the domains that certain datadog emails can be sent to. For more information, see the Domain Allowlist docs page
GET https://api.ap1.datadoghq.com/api/v2/domain_allowlisthttps://api.datadoghq.eu/api/v2/domain_allowlisthttps://api.ddog-gov.com/api/v2/domain_allowlisthttps://api.datadoghq.com/api/v2/domain_allowlisthttps://api.us3.datadoghq.com/api/v2/domain_allowlisthttps://api.us5.datadoghq.com/api/v2/domain_allowlist
Get the domain allowlist for an organization.
This endpoint requires the org_management
permission.
OAuth apps require the org_management
authorization scope to access this endpoint.
OK
Response containing information about the email domain allowlist.
항목
유형
설명
data
object
The email domain allowlist response for an org.
attributes
object
The details of the email domain allowlist.
domains
[string]
The list of domains in the email domain allowlist.
enabled
boolean
Whether the email domain allowlist is enabled for the org.
id
string
The unique identifier of the org.
type [required]
enum
Email domain allowlist allowlist type.
Allowed enum values: domain_allowlist
default: domain_allowlist
{
"data": {
"attributes": {
"domains": [],
"enabled": false
},
"id": "string",
"type": "domain_allowlist"
}
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/domain_allowlist" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
PATCH https://api.ap1.datadoghq.com/api/v2/domain_allowlisthttps://api.datadoghq.eu/api/v2/domain_allowlisthttps://api.ddog-gov.com/api/v2/domain_allowlisthttps://api.datadoghq.com/api/v2/domain_allowlisthttps://api.us3.datadoghq.com/api/v2/domain_allowlisthttps://api.us5.datadoghq.com/api/v2/domain_allowlist
Update the domain allowlist for an organization.
This endpoint requires the org_management
permission.
OAuth apps require the org_management
authorization scope to access this endpoint.
항목
유형
설명
data [required]
object
The email domain allowlist for an org.
attributes
object
The details of the email domain allowlist.
domains
[string]
The list of domains in the email domain allowlist.
enabled
boolean
Whether the email domain allowlist is enabled for the org.
id
string
The unique identifier of the org.
type [required]
enum
Email domain allowlist allowlist type.
Allowed enum values: domain_allowlist
default: domain_allowlist
{
"data": {
"attributes": {
"domains": [
"@static-test-domain.test"
],
"enabled": false
},
"type": "domain_allowlist"
}
}
OK
Response containing information about the email domain allowlist.
항목
유형
설명
data
object
The email domain allowlist response for an org.
attributes
object
The details of the email domain allowlist.
domains
[string]
The list of domains in the email domain allowlist.
enabled
boolean
Whether the email domain allowlist is enabled for the org.
id
string
The unique identifier of the org.
type [required]
enum
Email domain allowlist allowlist type.
Allowed enum values: domain_allowlist
default: domain_allowlist
{
"data": {
"attributes": {
"domains": [],
"enabled": false
},
"id": "string",
"type": "domain_allowlist"
}
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Curl command
curl -X PATCH "https://api.ap1.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/domain_allowlist" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
"data": {
"attributes": {
"domains": [
"@static-test-domain.test"
],
"enabled": false
},
"type": "domain_allowlist"
}
}
EOF