DELETE /api/v1/admin/majors/{major-id}
Delete a major. Optionally transfer attached data to another major.
Permission | Description |
---|---|
majors.view_all | Access majors |
majors.delete | Delete major |
Name | Type | Required | Description |
---|---|---|---|
replacement_id | integer | No | ID of another major to transfer attached data (optional) |
No content is returned when the major is deleted successfully.
replacement_id
is not provided or is not valid. Number of attached items is returned in attached_data
.