Skip to content

Commit efb8be5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add a note about downtime deletion behavior (#2456)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 43e9995 commit efb8be5

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-13 19:52:50.944317",
8-
"spec_repo_commit": "f64c1d75"
7+
"regenerated": "2025-03-14 07:51:15.017787",
8+
"spec_repo_commit": "899883be"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-13 19:52:50.959312",
13-
"spec_repo_commit": "f64c1d75"
12+
"regenerated": "2025-03-14 07:51:15.032721",
13+
"spec_repo_commit": "899883be"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -38777,7 +38777,12 @@ paths:
3877738777
- monitors_downtime
3877838778
/api/v2/downtime/{downtime_id}:
3877938779
delete:
38780-
description: Cancel a downtime.
38780+
description: 'Cancel a downtime.
38781+
38782+
38783+
**Note**: Downtimes canceled through the API are no longer active, but are
38784+
retained for approximately two days before being permanently removed. The
38785+
downtime may still appear in search results until it is permanently removed.'
3878138786
operationId: CancelDowntime
3878238787
parameters:
3878338788
- description: ID of the downtime to cancel.

src/datadog_api_client/v2/api/downtimes_api.py

+2
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ def cancel_downtime(
213213
214214
Cancel a downtime.
215215
216+
**Note** : Downtimes canceled through the API are no longer active, but are retained for approximately two days before being permanently removed. The downtime may still appear in search results until it is permanently removed.
217+
216218
:param downtime_id: ID of the downtime to cancel.
217219
:type downtime_id: str
218220
:rtype: None

0 commit comments

Comments
 (0)