Skip to main content
DELETE
/
stocks
/
{id}
Delete stock
curl --request DELETE \
  --url https://lms.tausi.africa/v1/stocks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<int64>
required

Response

Stock deleted successfully

success
boolean
required
Example:

true

message
string
required