Scheduling

Run a task now

post/api/v1/scheduling/scheduler/tasks/{task_id}/run

Request

  • Base URL
    https://pcp.example.com
  • Auth
    HTTP bearer

Path parameters

task_idstring required

Query parameters

actorstring

Scheduler to address. default: tasks created through the UI or the API. policy: tasks created by SLA policies, and their jobs. custom: tasks of integrations that drive the scheduler, such as Kubernetes; deprecated in favor of user:<uuid>. user: the caller's personal scheduler; 404 until POST /scheduling/scheduler creates it. user:<uuid>: the personal scheduler of another user; needs view access on schedulers.

organization_idstring uuid

Organization to act on, at or below the caller's. Defaults to the caller's.

Response

OK

idstring uuid

Changes

No recorded changes to this operation across all 1 revision of this API.