Delete Item By Id
DELETE/items/id
Delete the item(s) from the database that match the provided ID(s).
Parameters
id: string or list of string
The ID or list of IDs of the item(s) to be deleted.
Returns
CustomMessage
A message indicating the success or failure of the deletion.
Request
- application/json
Body
required
- MOD2
- Array [
- ]
anyOf
string
string
Responses
- 200
- 422
- 500
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
message Messagerequired
{
"message": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD2
- ]
- ]
detail object[]
loc object[]required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
message Messagerequired
status_code Status Coderequired
{
"message": "string",
"status_code": 0
}
Loading...