Bulk delete service types

Bulk delete service types, along with every plan and template of those types. Provide ids, or explicitly set include to false to delete every service type matching the filters (and every service type outright when no filters are given); an empty body is rejected.

Required permission: Full Write Service Plans

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

Include service types which contain this text in the name.

string

Include service types which contain this text in the description.

double

Include service types with at least this many teams.

double

Include service types with at most this many teams.

double

Include service types with at least this many templates.

double

Include service types with at most this many templates.

double

Include service types with at least this many attachments.

double

Include service types with at most this many attachments.

Body Params

The ids to delete, or the ids to exclude when include is false.

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!