Delete service type

Delete a service type, along with every plan and template of that type. While multi-campus is on, a campus-limited caller gets a 400 HTTP response naming the campuses when a plan or template of the type sits where they cannot delete plans, and nothing is deleted. Otherwise a plan or template that also belongs to campuses outside the caller's access needs the permission at every campus of its set; when one does not, the response is 403 and nothing is deleted. A plan or template available to every campus needs a caller with no campus limit and no restriction on that permission, and answers 403 with every_campus_record_delete_desc (every_campus_organization_record_delete_desc while multi-org is on).

Required permission: Full Write Service Plans

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the service type

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
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! Or choose an example:
text/plain
application/json
text/json