@@ -7115,6 +7115,81 @@ components:
7115
7115
description: The type of the resource. The value should always be device.
7116
7116
type: string
7117
7117
type: object
7118
+ DomainAllowlist:
7119
+ description: The email domain allowlist for an org.
7120
+ properties:
7121
+ attributes:
7122
+ $ref: '#/components/schemas/DomainAllowlistAttributes'
7123
+ id:
7124
+ description: The unique identifier of the org.
7125
+ nullable: true
7126
+ type: string
7127
+ type:
7128
+ $ref: '#/components/schemas/DomainAllowlistType'
7129
+ required:
7130
+ - type
7131
+ type: object
7132
+ DomainAllowlistAttributes:
7133
+ description: The details of the email domain allowlist.
7134
+ properties:
7135
+ domains:
7136
+ description: The list of domains in the email domain allowlist.
7137
+ items:
7138
+ type: string
7139
+ type: array
7140
+ enabled:
7141
+ description: Whether the email domain allowlist is enabled for the org.
7142
+ type: boolean
7143
+ type: object
7144
+ DomainAllowlistRequest:
7145
+ description: Request containing the desired email domain allowlist configuration.
7146
+ properties:
7147
+ data:
7148
+ $ref: '#/components/schemas/DomainAllowlist'
7149
+ required:
7150
+ - data
7151
+ type: object
7152
+ DomainAllowlistResponse:
7153
+ description: Response containing information about the email domain allowlist.
7154
+ properties:
7155
+ data:
7156
+ $ref: '#/components/schemas/DomainAllowlistResponseData'
7157
+ type: object
7158
+ DomainAllowlistResponseData:
7159
+ description: The email domain allowlist response for an org.
7160
+ properties:
7161
+ attributes:
7162
+ $ref: '#/components/schemas/DomainAllowlistResponseDataAttributes'
7163
+ id:
7164
+ description: The unique identifier of the org.
7165
+ nullable: true
7166
+ type: string
7167
+ type:
7168
+ $ref: '#/components/schemas/DomainAllowlistType'
7169
+ required:
7170
+ - type
7171
+ type: object
7172
+ DomainAllowlistResponseDataAttributes:
7173
+ description: The details of the email domain allowlist.
7174
+ properties:
7175
+ domains:
7176
+ description: The list of domains in the email domain allowlist.
7177
+ items:
7178
+ type: string
7179
+ type: array
7180
+ enabled:
7181
+ description: Whether the email domain allowlist is enabled for the org.
7182
+ type: boolean
7183
+ type: object
7184
+ DomainAllowlistType:
7185
+ default: domain_allowlist
7186
+ description: Email domain allowlist allowlist type.
7187
+ enum:
7188
+ - domain_allowlist
7189
+ example: domain_allowlist
7190
+ type: string
7191
+ x-enum-varnames:
7192
+ - DOMAIN_ALLOWLIST
7118
7193
DowntimeCreateRequest:
7119
7194
description: Request for creating a downtime.
7120
7195
properties:
@@ -29433,6 +29508,61 @@ paths:
29433
29508
tags:
29434
29509
- Dashboard Lists
29435
29510
x-codegen-request-body-name: body
29511
+ /api/v2/domain_allowlist:
29512
+ get:
29513
+ description: Get the domain allowlist for an organization.
29514
+ operationId: GetDomainAllowlist
29515
+ responses:
29516
+ '200':
29517
+ content:
29518
+ application/json:
29519
+ schema:
29520
+ $ref: '#/components/schemas/DomainAllowlistResponse'
29521
+ description: OK
29522
+ '429':
29523
+ $ref: '#/components/responses/TooManyRequestsResponse'
29524
+ security:
29525
+ - apiKeyAuth: []
29526
+ appKeyAuth: []
29527
+ - AuthZ:
29528
+ - org_management
29529
+ summary: Get Domain Allowlist
29530
+ tags:
29531
+ - Domain Allowlist
29532
+ x-permission:
29533
+ operator: OR
29534
+ permissions:
29535
+ - org_management
29536
+ patch:
29537
+ description: Update the domain allowlist for an organization.
29538
+ operationId: PatchDomainAllowlist
29539
+ requestBody:
29540
+ content:
29541
+ application/json:
29542
+ schema:
29543
+ $ref: '#/components/schemas/DomainAllowlistRequest'
29544
+ required: true
29545
+ responses:
29546
+ '200':
29547
+ content:
29548
+ application/json:
29549
+ schema:
29550
+ $ref: '#/components/schemas/DomainAllowlistResponse'
29551
+ description: OK
29552
+ '429':
29553
+ $ref: '#/components/responses/TooManyRequestsResponse'
29554
+ security:
29555
+ - apiKeyAuth: []
29556
+ appKeyAuth: []
29557
+ - AuthZ:
29558
+ - org_management
29559
+ summary: Sets Domain Allowlist
29560
+ tags:
29561
+ - Domain Allowlist
29562
+ x-permission:
29563
+ operator: OR
29564
+ permissions:
29565
+ - org_management
29436
29566
/api/v2/dora/deployment:
29437
29567
post:
29438
29568
description: 'Use this API endpoint to provide data about deployments for DORA
@@ -41786,6 +41916,14 @@ tags:
41786
41916
41787
41917
organization.'
41788
41918
name: Dashboard Lists
41919
+ - description: 'Configure your Datadog Email Domain Allowlist directly through the
41920
+ Datadog API.
41921
+
41922
+ The Email Domain Allowlist controls the domains that certain datadog emails can
41923
+ be sent to.
41924
+
41925
+ For more information, see the [Domain Allowlist docs page](https://docs.datadoghq.com/account_management/org_settings/domain_allowlist)'
41926
+ name: Domain Allowlist
41789
41927
- description: '**Note**: Downtime V2 is currently in private beta. To request access,
41790
41928
contact [Datadog support](https://docs.datadoghq.com/help/).
41791
41929
0 commit comments