deleteTaskNoteFile function

Future<ApiResponse<Object?>> deleteTaskNoteFile(
  1. ExsitedClient client,
  2. Object taskCode,
  3. Object noteId,
  4. Object fileId, {
  5. bool? raiseOnError,
  6. String? responseFormat,
})

DELETE /api/{api_version}/tasks/{task_code}/notes/{note_id}/files/{file_id}

Delete one attachment, by the task's code and the file's uuid.

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteTaskNoteFile(
  ExsitedClient client,
  Object taskCode,
  Object noteId,
  Object fileId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(TasksUrls.taskNoteFile,
        pathParams: {
          'task_code': taskCode,
          'note_id': noteId,
          'file_id': fileId
        },
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);