Task
Represents a background task scheduled for execution.
This object can be configured from the WebUI under Management › Tasks › Scheduled Management › Tasks › Failed
Fields
Task is a multi-variant object: each instance has an @type discriminator selecting one of the variants below, and each variant carries its own set of fields.
@type: "IndexDocument"
Index document
documentType
Type:
IndexDocumentType· read-onlyType of document associated with the task
accountId
Type:
Id<Account>· read-onlyIdentifier of the account associated with this task
documentId
Type:
Id· read-onlyIdentifier of the document associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "UnindexDocument"
Unindex document
documentType
Type:
IndexDocumentType· read-onlyType of document associated with the task
accountId
Type:
Id<Account>· read-onlyIdentifier of the account associated with this task
documentId
Type:
Id· read-onlyIdentifier of the document associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "IndexTrace"
Index telemetry trace
traceId
Type:
Id<Trace>· read-onlyIdentifier of the trace associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "CalendarAlarmEmail"
Calendar alarm e-mail
alarmId
Type:
UnsignedInt· server-set · default:0Identifier of the calendar alarm associated with this task
eventId
Type:
UnsignedInt· server-set · default:0Identifier of the calendar event associated with this task
eventStart
Type:
UTCDateTime· server-setStart date and time of the calendar event
eventEnd
Type:
UTCDateTime· server-setEnd date and time of the calendar event
eventStartTz
Type:
UnsignedInt· server-set · default:0Timezone identifier for the start date and time
eventEndTz
Type:
UnsignedInt· server-set · default:0Timezone identifier for the end date and time
accountId
Type:
Id<Account>· read-onlyIdentifier of the account associated with this task
documentId
Type:
Id· read-onlyIdentifier of the document associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "CalendarAlarmNotification"
Calendar alarm notification
alarmId
Type:
UnsignedInt· server-set · default:0Identifier of the calendar alarm associated with this task
eventId
Type:
UnsignedInt· server-set · default:0Identifier of the calendar event associated with this task
recurrenceId
Type:
Integer?· server-setRecurrence identifier for the alarm, if applicable
accountId
Type:
Id<Account>· read-onlyIdentifier of the account associated with this task
documentId
Type:
Id· read-onlyIdentifier of the document associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "CalendarItipMessage"
Calendar iTIP message
messages
Type:
TaskCalendarItipContents[]· server-setList of iTIP messages associated with this task
accountId
Type:
Id<Account>· read-onlyIdentifier of the account associated with this task
documentId
Type:
Id· read-onlyIdentifier of the document associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "MergeThreads"
Merge email threads
accountId
Type:
Id<Account>· server-setIdentifier of the account associated with this task
threadName
Type:
String· server-setName of the thread to be merged
messageIds
Type:
String[]· server-setMessage-IDs of the email messages to be merged into the thread
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "DmarcReport"
Send DMARC report to remote server
reportId
Type:
Id<DmarcInternalReport>· server-setIdentifier for the DMARC aggregate report associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "TlsReport"
Send TLS report to remote server
reportId
Type:
Id<TlsInternalReport>· server-setIdentifier for the TLS aggregate report associated with this task
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "RestoreArchivedItem"
Restore archived item
blobId
Type:
BlobId· server-setIdentifier of the archived blob to be restored
archivedItemType
Type:
ArchivedItemType· server-setType of the archived item associated with the blob
createdAt
Type:
UTCDateTime· server-setTimestamp when the item was originally created
archivedUntil
Type:
UTCDateTime· server-setTimestamp until which the archived item will be deleted permanently if not restored
accountId
Type:
Id<Account>· server-setIdentifier of the account to which the archived item belongs
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "DestroyAccount"
Destroy account and all associated data
accountId
Type:
Id<Account>· server-setIdentifier of the account to be destroyed
accountName
Type:
String· requiredName of the account to be destroyed
accountDomainId
Type:
Id<Domain>· requiredDomain identifier of the account to be destroyed, if applicable
accountType
Type:
AccountType· server-setType of the deleted account (user or group)
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "AccountMaintenance"
Perform account maintenance operations
accountId
Type:
Id<Account>· read-onlyIdentifier of the account to be maintained
maintenanceType
Type:
TaskAccountMaintenanceType· read-onlyType of maintenance operation to perform on the account
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task
@type: "TenantMaintenance"
Perform tenant maintenance operations
tenantId
Type:
Id<Tenant>· read-onlyIdentifier of the tenant to be maintained
maintenanceType
Type:
TaskTenantMaintenanceType· read-onlyType of maintenance operation to perform on the tenant
status
Type:
TaskStatus· requiredCurrent status of the task
due
Type:
UTCDateTime?· server-setDue date and time for the task