Remove an export schedule

Mark an already known schedule deleted so that, once saved and observed, it is excluded from future scheduling selection. This changes configuration; it does not cancel already selected, queued or running work, remove existing requests/files or retract notifications.

TaskOperationResult
Remove a known schedule from future selectionDELETE /api/v1/admin/export-requests/scheduler/{id}HTTP200 Boolean acknowledgement

Before you start

Use the selected publication's public key and an existing active admin, partner or root staff session authorized there. Readonly, manager, support and service-account permissions do not grant this operation. Existing schedules are not restricted to their creator. Confirm the already known schedule ID with its authorized owner; it differs from an export request ID. See credential transport.

HeaderPurpose
resourceRequired publication public key
tokenRequired eligible staff session token
Accept: application/jsonRequest JSON

The DELETE takes no body, so no request Content-Type is needed. Saves and configured events can precede failure; acknowledgement alone does not verify persistence or event delivery. Such events may cause notifications or other effects. Saving the deletion marker can also update timestamps and reserialize saved selections. No automatic rollback or harmless repeat is promised.

All examples are synthetic and unexecuted, using fictional known schedule7201. Set WALLKIT_API_BASE to scheme and host only, without a trailing slash or /api/v1, plus RESOURCE_KEY and STAFF_TOKEN. Use Bash/cURL with Python3 response checks, Node.js18+ native fetch in an .mjs file or Python3 urllib. Each client makes one request and no follow-up/retry; cURL removes its temporary response. See sample runtimes.

Delete a schedule

DELETE /api/v1/admin/export-requests/scheduler/{id}

Mark a known schedule deleted. When that change is persisted and observed, the schedule is excluded from future scheduling selection. Existing export requests and files remain. The shared effects and cancellation limits apply.

InputLocation / requirementMeaning
idRequired path integer, digitsAlready known schedule in the selected publication

No body or action-specific query input is required. A repeat may return Model already deleted; HTTP 200 on every repeat is not promised.

Request

Each alternative performs one DELETE, checks HTTP 200/error/object/Boolean acknowledgement and stops. They are independent illustrations, not instructions to run every version or delete again.

(
response_file=$(mktemp) || exit 1
trap 'rm -f "$response_file"' EXIT
if ! status=$(curl --fail --silent --request DELETE \
  "$WALLKIT_API_BASE/api/v1/admin/export-requests/scheduler/7201" \
  --header 'Accept: application/json' --header "resource: $RESOURCE_KEY" \
  --header "token: $STAFF_TOKEN" --output "$response_file" --write-out '%{http_code}'); then
  printf '%s\n' 'Schedule deletion outcome unavailable. Review intended configuration with support.' >&2
  exit 1
fi
python3 - "$response_file" "$status" <<'PY'
import json
import sys
try:
    if sys.argv[2] != "200":
        raise ValueError()
    with open(sys.argv[1], encoding="utf-8") as stream:
        result = json.load(stream)
    if not isinstance(result, dict) or "error" in result or result.get("success") is not True:
        raise ValueError()
    print("Deletion acknowledgement received; persistence and cancellation are not confirmed.")
except Exception:
    raise SystemExit("Schedule deletion outcome unavailable. Review intended configuration with support.") from None
PY
)
try {
  const url = new URL("/api/v1/admin/export-requests/scheduler/7201", process.env.WALLKIT_API_BASE);
  const response = await fetch(url, { method: "DELETE", headers: {
    Accept: "application/json", resource: process.env.RESOURCE_KEY, token: process.env.STAFF_TOKEN
  } });
  if (response.status !== 200) throw new Error();
  const result = await response.json();
  if (!result || typeof result !== "object" || Array.isArray(result) ||
      Object.hasOwn(result, "error") || result.success !== true) throw new Error();
  console.log("Deletion acknowledgement received; persistence and cancellation are not confirmed.");
} catch {
  console.error("Schedule deletion outcome unavailable. Review intended configuration with support.");
  process.exitCode = 1;
}
import json
import os
from urllib.request import Request, urlopen

try:
    url = os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/export-requests/scheduler/7201"
    request = Request(url, method="DELETE", headers={"Accept": "application/json",
        "resource": os.environ["RESOURCE_KEY"], "token": os.environ["STAFF_TOKEN"]})
    with urlopen(request) as response:
        if response.status != 200:
            raise ValueError()
        result = json.load(response)
    if not isinstance(result, dict) or "error" in result or result.get("success") is not True:
        raise ValueError()
    print("Deletion acknowledgement received; persistence and cancellation are not confirmed.")
except Exception:
    raise SystemExit("Schedule deletion outcome unavailable. Review intended configuration with support.") from None

Acknowledgement

HTTP 200; complete synthetic business acknowledgement, without an item or deletion timestamp:

{"success": true}

This acknowledges the returned result; it does not confirm that the deletion was saved or that work stopped. Next, take an uncertain outcome to the authorized publication owner or support to review the intended configuration. Do not repeat the delete or recreate a schedule automatically.

Failures and recovery

A missing schedule returns this synthetic HTTP404 error:

{"error": "model_not_found", "error_description": "Model not found", "req_guid": "SYNTHETIC_REQUEST_REFERENCE"}
HTTP statusAPI code / response shapeCauseNext action
404model_not_found / Model not foundKnown schedule unavailableConfirm the intended known ID with its owner; do not guess another ID
404model_not_found / Model already deletedSchedule already marked deletedReview intended configuration with its owner/support; do not recreate or repeat automatically
403wrong_resource / Model not related to current resourceSchedule/publication mismatchConfirm intended context with its owner; do not probe other scopes
409invalid_data / Delete export request scheduler has been failed or Error delete export request schedulerCaught deletion failureKeep outcome uncertain and ask support to inspect saved state; earlier effects may exist
409invalid_data / another returned export-exception descriptionAnother caught export failureGive support an appropriate request reference; no rollback or success is inferred
Other/shared status, structured error or unusable responseNo usable acknowledgementSession, access, native handling or response failureKeep uncertainty visible and use shared recovery; never substitute success

Keep recipients and saved selections out of logs as well as credentials and raw errors. Shared caller failures below require a different correction from a missing or already-deleted schedule.

Shared recovery

Check HTTP status, parseable JSON, structured errors and the Boolean acknowledgement. If the response is unusable, keep the deletion outcome uncertain and ask authorized support to inspect saved configuration before another change. Keep credentials and raw failures out of logs.

HTTP statusAPI code/response shapeCauseNext action
404resource_not_existsPublication context could not be resolvedCheck its public key and integration context with the administrator
401auth_failed, token_expired or token_compromisedExisting caller/session is absent or unusableUse the existing authorized sign-in/session process
401auth_access_failCaller is inactive or publication access is locked/suspendedAsk the administrator to review access
401 or 403accessCaller does not meet this operation's access requirementsConfirm admin/partner/root eligibility; permissions for other operations do not grant this deletion
409initialize_failedRequest context initialization failedConfirm publication/session context and provide the request reference if supplied
Other status or unusable responseNo usable resultThe deletion request failed or its response could not be interpretedShow unavailable and seek help without exposing credentials or raw response content

Full diagram

Use the arrow keys to scroll. Escape closes this view.

Search documentation

Enter at least 2 characters.

    ↑ ↓ move through results · Enter opens · Escape closes