Skip to content

Commit 3126892

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

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

packages/datadog-api-client-v2/apis/DowntimesApi.ts

+2
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ export class DowntimesApi {
776776

777777
/**
778778
* Cancel a downtime.
779+
*
780+
* **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.
779781
* @param param The request object
780782
*/
781783
public cancelDowntime(

0 commit comments

Comments
 (0)