Skip to main content

BulkDeleteLibraryResourcesPayload

Outcome of a bulk delete. The whole batch is atomic — on any failure success is false, deletedCount is 0, and error is set.

type BulkDeleteLibraryResourcesPayload {
success: Boolean!
deletedCount: Int!
error: String
}

Fields

BulkDeleteLibraryResourcesPayload.success ● Boolean! non-null scalar

True when every resource in the batch was deleted.

BulkDeleteLibraryResourcesPayload.deletedCount ● Int! non-null scalar

Number of resources deleted (0 when the batch rolled back).

BulkDeleteLibraryResourcesPayload.error ● String scalar

Failure message when the batch rolled back, otherwise null.

Returned By

bulkDeleteLibraryResources mutation