Skip to main content

delete_status

Creates, updates, deletes, gets or lists a delete_status resource.

Overview

Namedelete_status
TypeResource
Idsumologic.content.delete_status

Fields

The following fields are returned by SELECT queries:

The status of the content deletion job.

NameDatatypeDescription
errorobject
statusstringWhether or not the request is in progress (InProgress), has completed successfully (Success), or has completed with an error (Failed).
statusMessagestringAdditional status message generated if the status is not Failed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getAsyncDeleteStatusselectid, jobId, regionisAdminModeGet the status of an asynchronous content deletion job request for the given job identifier.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringIdentifier of the content to delete.
jobIdstringThe identifier of the asynchronous job.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
isAdminModestringSet this to "true" if you want to perform the request as a Content Administrator.

SELECT examples

Get the status of an asynchronous content deletion job request for the given job identifier.

SELECT
error,
status,
statusMessage
FROM sumologic.content.delete_status
WHERE id = '{{ id }}' -- required
AND jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
AND isAdminMode = '{{ isAdminMode }}'
;