Delete positions

Delete serving positions along with their volunteer assignments, pending requests and linked form entries. Provide ids, or explicitly set include to false to delete every position matching the filters; an empty body is rejected.

Required permission: Limited Write Groups

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

Comma-delimited list of group ids. Returns positions in those groups.

boolean

Whether to return listed or unlisted positions.

string

Return positions whose name contains the given text.

string

Return positions whose description contains the given text.

boolean

Whether to return active or inactive positions.

string

Comma-delimited list of enrollment method ids: 1 = anyone can sign up, 2 = approval required.

string

Return positions whose supervisor's name, email or phone contains the given text.

int32
≥ 1

The id of a sign-up form. Returns positions using that form. Values come from /api/forms.

Body Params

Which positions 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!