Skip to main content
POST
Say which categories and sites a priority is offered for. Empty on either list means

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Say which categories and sites a priority is offered for. Empty on either list means unrestricted on that dimension, not excluded — a priority naming no category is offered for every category, and the same for site.

A job names a site always and a location only sometimes, which is why the list is of sites: a job that does name a location is judged by the site that location belongs to.

Replaces the whole of each list in one call, the same shape as api.set_plan_scope: the caller sends what should be true now, not a delta.

p_priority_id
string<uuid>
required
p_category_ids
string[]
p_site_ids
string[]

Response

200

OK