Skip to main content
DELETE
/
awards
/
:id
curl -X DELETE https://api.marsai.com/awards/3 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "message": "Prix supprimé"
}
This endpoint requires ADMIN authentication.
Deletes an award from the system.

Path Parameters

id
integer
required
The ID of the award to delete

Response

message
string
Success message: “Prix supprimé”
curl -X DELETE https://api.marsai.com/awards/3 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "message": "Prix supprimé"
}
This action is permanent and cannot be undone. Make sure you want to delete this award before proceeding.