Scheduling

Set the roles of a scheduler

put/api/v1/scheduling/scheduler/roles

Request

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

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

can_executestring[]
can_ownstring[]
can_readstring[]
can_writestring[]

Response

OK

can_executestring[]
can_ownstring[]
can_readstring[]
can_writestring[]

Changes

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