cancelItemUpload

cancelItemUpload

cancelItemUpload(requestOptions?IUserItemOptions): Promise<IUpdateItemResponse>

Cancels a multipart upload on an item. See the REST Documentation for more information.

Use dark colors for code blocksCopy
       
1
2
3
4
5
6
7
import { cancelItemUpload } from "@esri/arcgis-rest-portal";
//
cancelItemUpload({
  id: "30e5fe3149c34df1ba922e6f5bbf808f",
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IUserItemOptions

Options for the request

Returns 
Promise<IUpdateItemResponse>

A Promise to get the commit result.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.