runArchiveJob
Topics: Admin
Run an archive job immediately, regardless of its schedule or isEnabled flag. Enqueues the work and returns a PENDING ArchiveExecution to poll; the run itself happens asynchronously. Requires an authenticated user and archiveJob:execute permission.
Exact field SDL
"""
Run an archive job immediately, regardless of its schedule or isEnabled flag. Enqueues the work and returns a PENDING ArchiveExecution to poll; the run itself happens asynchronously. Requires an authenticated user and archiveJob:execute permission.
"""
runArchiveJob(
"""TypeID (prefix `arj`) of the archive job to run now."""
id: ArchiveJobID!
): RunArchiveJobPayload! @topic(names: ["admin"])Declared on Mutation. Access is checked by the platform for each operation.