Bulk delete forms

Delete several forms at once, along with all of their entries. Provide ids, or explicitly set include to false to delete every form matching the filters (and every form outright when no filters are given); an empty body is rejected. Built-in forms cannot be deleted.

Required permission: Full Write Forms

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Return forms whose name contains the given text.

string

Return forms whose description contains the given text.

boolean

Whether the form is currently active. A form is active when it has no expiration date or the date has not passed yet.

string

Comma-delimited list of category ids. Use -1 to include forms with no category. Values come from /api/property_values/form_categories/values.

boolean

Whether the form serves as the sign-up form for a group, event, or position. Linked forms cannot be filled out directly.

boolean
double

Return forms with at least this many submissions.

double

Return forms with at most this many submissions.

double

Return forms used by at least this many events.

double

Return forms used by at most this many events.

double

Return forms used by at least this many groups.

double

Return forms used by at most this many groups.

double

Return forms used by at least this many positions.

double

Return forms used by at most this many positions.

date-time

Return forms whose first submission was on or after this date.

date-time

Return forms whose first submission was on or before this date.

date-time

Return forms whose latest submission was on or after this date.

date-time

Return forms whose latest submission was on or before this date.

string

Full-text search text. Matching forms are returned ranked by relevance.

Body Params

The ids to delete

ids
array of doubles | null

The ids the operation applies to: an include list by default, or an exclude list when include is false. For deletes, required unless include is false.

ids
boolean | null

Whether ids is an include list (true, default) or an exclude list (false). Setting include to false with no ids applies the operation to every record matching the query filters.

Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!