- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Domain Allowlist is available for customers with Enterprise plans. If you're interested in this feature, contact Datadog support to request access.
Request AccessDomain Allowlist enables you to restrict the email domains to which notifications can be sent.
This document describes how to access and configure Domain Allowlist through the API. To use the UI instead, see Domain Allowlist.
Return the Domain Allowlist and its enabled or disabled state.
GET https://api.datadoghq.com/api/v2/domain_allowlist
curl -X GET "https://api.datadoghq.com/api/v2/domain_allowlist" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
OK
Field | Type | Description |
---|---|---|
data | object | Domain Allowlist email data |
data.type | enum | Domain Allowlist type. Allowed enum values: domain_allowlist . Default: domain_allowlist . |
data.attributes | object | Attributes of Domain Allowlist |
data.attributes.enabled | Boolean | If true , Domain Allowlist is enabled |
data.attributes.domains | [string] | List of domains in Domain Allowlist |
Forbidden
Field | Type | Description |
---|---|---|
errors [required] | [string] | List of errors |
Not Found
Field | Type | Description |
---|---|---|
errors [required] | [string] | List of errors |
Too many requests
Field | Type | Description |
---|---|---|
errors [required] | [string] | List of errors |
{
"data": {
"type": "domain_allowlist",
"attributes": {
"enabled": true,
"domains": [
"@aol.com",
"@yahoo.com",
"@gmail.com"
]
}
}
}
Enable/disable Domain Allowlist and rewrite the entire allowlist with a given list of email domains.
PATCH https://api.datadoghq.com/api/v2/domain_allowlist
curl -X PATCH "https://api.datadog.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": {
"type": "domain_allowlist",
"attributes": {
"enabled": true,
"domains": [
"@datadoghq.com",
"@yahoo.com",
"@gmail.com"
]
}
}
}
EOF
OK
Field | Type | Description |
---|---|---|
data | object | Domain Allowlist email data |
data.type | enum | Domain Allowlist type. Allowed enum values: domain_allowlist . Default: domain_allowlist . |
data.attributes | object | Attributes of Domain Allowlist |
data.attributes.enabled | Boolean | If true , Domain Allowlist is enabled |
data.attributes.domains | [string] | List of domains in Domain Allowlist |
Forbidden
Field | Type | Description |
---|---|---|
errors [required] | [string] | List of errors |
Not Found
Field | Type | Description |
---|---|---|
errors [required] | [string] | List of errors |
Too many requests
Field | Type | Description |
---|---|---|
errors [required] | [string] | List of errors |
{
"data": {
"type": "domain_allowlist",
"attributes": {
"enabled": true,
"domains": [
"@datadoghq.com",
"@yahoo.com",
"@gmail.com"
]
}
}
}
추가 유용한 문서, 링크 및 기사: