Skip to content

Commit 6c9bf17

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add a note about downtime deletion behavior (#2289)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 8a58533 commit 6c9bf17

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:49.528972",
8-
"spec_repo_commit": "f64c1d75"
7+
"regenerated": "2025-03-14 07:51:10.767732",
8+
"spec_repo_commit": "899883be"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-13 19:52:49.544117",
13-
"spec_repo_commit": "f64c1d75"
12+
"regenerated": "2025-03-14 07:51:10.783055",
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.

lib/datadog_api_client/v2/api/downtimes_api.rb

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def cancel_downtime(downtime_id, opts = {})
3535
#
3636
# Cancel a downtime.
3737
#
38+
# **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.
39+
#
3840
# @param downtime_id [String] ID of the downtime to cancel.
3941
# @param opts [Hash] the optional parameters
4042
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers

0 commit comments

Comments
 (0)