Changing ID when requesting delete opeartion on server


I’m using REST API and I delete a record with the following code:

        deleteTaskAction : function(task_uuid)
  'task', task_uuid).then(function (task) {
                task.get('isDeleted');   // Check if it is true
      ;             // Sends request => DELETE - /tasks/<id>

When sending the request it is DELETE - /tasks/<-id->/

How can I change <-id-> with a text? I’m going to use UUID as ID.

Any ideas?


A custom adapter can achieve this by overwrite deleteRecord method