For Developers
Delete Category
DELETE https://ed.link/api/v2/my/classes/:class\_id/categories/:category\_id
Delete an existing Category in the given Class.
The user must be enrolled as a teacher
, ta
, designer
, administrator
, or district-administrator
in the class to use this endpoint.
Request Parameters
Parameter | Type | Description |
---|---|---|
class_id | string | The UUID of the desired Class. |
category_id | string | The UUID of the desired Category. |
Sample Request
axios.delete(`https://ed.link/api/v2/my/classes/${class_id}/categories/${category_id}`, {
headers: {
authorization: `Bearer ${person_access_token}`
}
});
Sample Response
The response is empty, with a status code of 200
.