Delete giving campaigns

Delete many giving campaigns. Provide ids, or explicitly set include to false to delete every campaign matching the filters (and every campaign outright when no filters are given); an empty body is rejected.

Required permission: Full Write Pledges

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

Text matched against the campaign's name.

string

Text matched against the campaign's description.

string

Comma-delimited list of designation ids; returns campaigns that apply giving to any of them.

date-time

Return campaigns starting on or after this date.

date-time

Return campaigns starting on or before this date.

date-time

Return campaigns ending on or after this date.

date-time

Return campaigns ending on or before this date.

boolean

Whether only giving toward pledges counts for the campaign.

boolean

Whether the campaign allows giving before its start date.

boolean

Whether the campaign is currently active, i.e. its end date is in the future.

string

Return campaigns created by the given user name (exact match).

double

Return campaigns with at least this many pledges.

double

Return campaigns with at most this many pledges.

double

Return campaigns with a goal of at least this amount.

double

Return campaigns with a goal of at most this amount.

double

Return campaigns with at least this amount pledged.

double

Return campaigns with at most this amount pledged.

double

Return campaigns that raised at least this amount.

double

Return campaigns that raised at most this amount.

double

Return campaigns with at least this amount remaining.

double

Return campaigns with at most this amount remaining.

double

Return campaigns at least this percent of the way to their goal (0-100).

double

Return campaigns at most this percent of the way to their goal (0-100).

Body Params

The selection criteria

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!