Delete a Category
DELETE/v1/categories/:id
Delete a Category
Request​
Path Parameters
id stringrequired
Id of the Category
Responses​
- 204
- 400
- 401
- 403
Successfully deleted a Category
Error validating inputs
- application/json
- Schema
- Example (from schema)
Schema
error
object
code string
Example:
bad_request
title string
Example:
Bad request
message string
Example:
One or more of the inputs were invalid
reasons string[]
{
"error": {
"code": "bad_request",
"title": "Bad request",
"message": "One or more of the inputs were invalid",
"reasons": [
"pageSize must be greater than or equal to 0"
]
}
}
Unauthorized
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error
object
code string
Example:
forbidden
title string
Example:
Forbidden
message string
Example:
Access is denied due to insufficient privileges
{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to insufficient privileges"
}
}
Loading...