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"
}
Delete an existing rate
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"
}
access_token cookie.
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"
}
| Status Code | Description |
|---|---|
| 200 | Rate successfully deleted |
| 400 | Invalid data or rate not found |
| 401 | Token not sent or invalid (missing or expired cookie) |
| 500 | Internal server error |