Documentation

Deletes a file.

Arguments

The Circle ID and the FileMap ID for the file you want to delete.

Returns

Whether the action was a success or failure.

API Definition

public async Task<DeleteFileReply> DeleteFile(DeleteFileRequest request)

 

C# Structures

public class DeleteFileRequest {

  public string CircleId;

  public string FmapId;

}

public class DeleteFileReply 

{

  public ReturnStatus Status;

}

C# Example code:

public void DeleteFile(string circleId, string fileMapId)

{

   DeleteFileRequest request = new DeleteFileRequest()

     { CircleId = circleId, FmapId = fileMapId};

   DeleteFileReply reply = _circle.DeleteFile(request);

   Console.WriteLine(reply.Status.Message);

}