Skip to main content
POST
Create or amend a saved list view and the audience it is for: its author alone, a role, or the whole organisation.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Create or amend a saved list view and the audience it is for: its author alone, a role, or the whole organisation. Sharing with a role needs admin.list_view.share_role and with the organisation admin.list_view.share; the site and people arguments are accepted for older callers and refused when used. Amending is the author's.

p_definition
string<jsonb>
required
p_list_key
string<text>
required
p_name
string<text>
required
p_description
string<text>
p_id
string<uuid>
p_role_ids
string[]
p_site_ids
string[]
p_user_ids
string[]
p_visibility
string<text>

Response

200

OK