ProgramMessage Delete Api is not working


I wanted to remove the programmessages from our instance using the API it shows the status OK but still the programmessages available in the system. following are the apis I used.

  1. curl -X DELETE “server/api/messages/programmessageuid” -u user:password
  2. curl -X DELETE -u user:Password “server/api/33/messages/programmessageuid”

Hi @baktash.salehi
is this 2.33 version?
Moreover can you please share the server logs?