v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13195274.7 KB
assuredworkloads

Finds orphan ResourceEvents matching the criteria and moves them to the ArchivedResourceEvents table.

post/v1/assuredworkloads:archiveResourceEvents

Request body

batchSizeinteger

Required. The number of events to process in a single transaction batch.

eventCutoffTimestring google-datetime

Required. Only events with EventTime earlier than this cutoff will be archived.

maxEventsMoveinteger

Required. The maximum total number of events to move in this request.

archiveTimestring google-datetime

Optional. Time to set as ArchiveTime in the archive table. If not provided, the current time is used.

regionstring

Required. The region of the workload(s) whose events should be archived. This is used to filter workloads based on AssurantWorkloadData.region.

organizationIdstring int64

Required. The organization ID for which to archive events.

Response

Successful response