Skip to content

Commit 63e1ec9

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add a note about downtime deletion behavior (#559)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 6d587e2 commit 63e1ec9

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
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:56.366752",
8-
"spec_repo_commit": "f64c1d75"
7+
"regenerated": "2025-03-14 07:51:06.068505",
8+
"spec_repo_commit": "899883be"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-13 19:52:56.385315",
13-
"spec_repo_commit": "f64c1d75"
12+
"regenerated": "2025-03-14 07:51:06.084701",
13+
"spec_repo_commit": "899883be"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 1 deletion
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/datadogV2/api/api_downtimes.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ impl DowntimesAPI {
211211
}
212212

213213
/// Cancel a downtime.
214+
///
215+
/// **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.
214216
pub async fn cancel_downtime(
215217
&self,
216218
downtime_id: String,
@@ -222,6 +224,8 @@ impl DowntimesAPI {
222224
}
223225

224226
/// Cancel a downtime.
227+
///
228+
/// **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.
225229
pub async fn cancel_downtime_with_http_info(
226230
&self,
227231
downtime_id: String,

0 commit comments

Comments
 (0)