Scheduling

Edit a task

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

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.

Request body

created_atstring date-time nullable
descriptionstring
edge_idstring uuid
edge_tagsstring[] nullable
idstring uuid
namestring
scheduler_idstring uuid
scheduler_revisioninteger nullable
typestring
updated_atstring date-time nullable

Response

OK

actorstring
created_atstring date-time
descriptionstring
enabledboolean
idstring uuid
namestring
revisioninteger
updated_atstring date-time

Changes

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