DELETE
/
material
/
:id
Delete material
curl --request DELETE \
  --url http://localhost:8080/material/:id \
  --header 'x-api-key: <api-key>'
{
  "message": "Material deleted successfully"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Path Parameters

id
string
required

Material ID

Response

Successfully deleted material

The response is of type object.