Skip to main content
DELETE
/
rate
/
delete
curl -X DELETE https://api.demet.com/rate/delete \
  -H "Content-Type: application/json" \
  -b "access_token=YOUR_JWT_TOKEN" \
  -d '{
    "v_id_rate": 5
  }'
{
  "message": "Eliminacion Exitosa"
}
This endpoint allows you to delete a previously registered rate from the system. Authentication is required via JWT token in the access_token cookie.
Deleting a rate is a permanent action and cannot be undone. Make sure you want to delete the rate before proceeding.

Request Body

v_id_rate
number
required
ID of the rate to delete. Must be a positive integer.

Response

message
string
Success message confirming the rate was deleted
curl -X DELETE https://api.demet.com/rate/delete \
  -H "Content-Type: application/json" \
  -b "access_token=YOUR_JWT_TOKEN" \
  -d '{
    "v_id_rate": 5
  }'
{
  "message": "Eliminacion Exitosa"
}

Error Codes

Status CodeDescription
200Rate successfully deleted
400Invalid data or rate not found
401Token not sent or invalid (missing or expired cookie)
500Internal server error

Build docs developers (and LLMs) love