Delete report group

Delete a report group or subgroup, along with its subgroups and every report submitted under them. The response reports how many were deleted and how many were skipped. A group wholly outside the campuses where the caller holds the metrics settings permission (a subgroup follows its parent group) is skipped: 200 with deleted 0, skipped 1. While multi-campus is on, a group that also belongs to campuses outside the caller's access needs the permission at every campus of its set (a subgroup follows its parent's set); such a group answers 403 and nothing is deleted. A group 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: Metrics Settings

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

The id of the report group.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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