Skip to main content

Delete all scheduled jobs for the calling owner

POST 

/api/v1/scheduler/delete-jobs-for-owner

Soft-deletes schedules owned by the authenticated beneficiary within the verified tenant/project context. This is an explicit schedule-cleanup operation for offboarding or user-requested deletion. Do not call it on sign-out: schedules belong to the user/project and are not scoped to the current device session.

The following access conditions are preserved as declared intent and are not implemented by generated code: Authorized scoped domain action.

Use this in a guide: Manage jobs

Request​

Responses​

Scheduled jobs deleted

Delete all jobs owned by the authenticated end user in the current project.​

Section ID: DOC-CP-scheduling-api-deleteJobsForOwner#example-scheduled-jobs-deleteJobsForOwner-request

Request example

{}

Illustrative response shape; omitted default fields and actual outcomes depend on the operation.​

Section ID: DOC-CP-scheduling-api-deleteJobsForOwner#example-scheduled-jobs-deleteJobsForOwner-response

Response example

{
"deletedCount": 1
}

Illustrative response for Account cleanup: remove all of the user’s schedules. Replace example resource identifiers with your own authorized values.​

Section ID: DOC-CP-scheduling-api-deleteJobsForOwner#example-cookbook-core-platform-scheduling-managing-json-01-response

Response example

{
"deletedCount": 3
}

Document ID: DOC-CP-scheduling-api-deleteJobsForOwner. Section identities and revisions.

SectionStable reference
Delete all scheduled jobs for the calling ownerDOC-CP-scheduling-api-deleteJobsForOwner#overview
RequestDOC-CP-scheduling-api-deleteJobsForOwner#request
ResponsesDOC-CP-scheduling-api-deleteJobsForOwner#responses