abortMultipartUpload (method)
Aborts a multipart upload.
Syntax
- (void)abortMultipartUpload:(NSString*)multipartFileId;
public func abortMultipartUpload(_ multipartFileId: String) throws -> Void
Remarks
This method aborts the multipart upload of the file specified by MultipartFileId, and invalidates the given Id.
When this method is called, all parts that have been uploaded for the multipart upload are deleted from the server.
The currently-authenticated application key must have the writeFiles capability to call this method successfully, otherwise the server will return an error. Refer to the AccountCapabilities property for more information.