Delete News By Id
DELETE/news/:id
This operation allows to delete a News by id
Request
Path Parameters
id uuidrequired
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
news id
Responses
- 204
- 401
- 403
- 404
- 500
ok
unauthorized access
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Loading...