Skip to content

Commit b9cb90c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add a note about downtime deletion behavior (#2759)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 0e44e52 commit b9cb90c

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:49.215402",
8-
"spec_repo_commit": "f64c1d75"
7+
"regenerated": "2025-03-14 07:51:06.324305",
8+
"spec_repo_commit": "899883be"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-13 19:52:49.230891",
13-
"spec_repo_commit": "f64c1d75"
12+
"regenerated": "2025-03-14 07:51:06.339981",
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/main/java/com/datadog/api/client/v2/api/DowntimesApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ public CompletableFuture<Void> cancelDowntimeAsync(String downtimeId) {
8383
/**
8484
* Cancel a downtime.
8585
*
86+
* <p><strong>Note</strong>: Downtimes canceled through the API are no longer active, but are
87+
* retained for approximately two days before being permanently removed. The downtime may still
88+
* appear in search results until it is permanently removed.
89+
*
8690
* @param downtimeId ID of the downtime to cancel. (required)
8791
* @return ApiResponse&lt;Void&gt;
8892
* @throws ApiException if fails to make API call

0 commit comments

Comments
 (0)