removeItemThumbnail

removeItemThumbnail

Function
removeItemThumbnail(requestOptionsIUserItemOptions): Promise<{ success: boolean }>

Delete an item's thumbnail. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
import { removeItemThumbnail } from "@esri/arcgis-rest-portal";

removeItemThumbnail({
  id: "3ef",
  owner: "c@sey",
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IUserItemOptions

Options for the request

Returns 
Promise<{ success: boolean }>

A Promise that deletes a thumbnail.

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