• Removes an item from AGO.

    Parameters

    • itemId: string

      Id of an item to delete

    • authentication: UserSession

      Credentials for the request to AGO

    • permanentDelete: boolean = true

      If true (the default), the item is permanently deleted; if false and the item type supports the recycle bin, the item will be put into the recycle bin

    Returns Promise<IStatusResponse>

    A promise that will resolve with the result of the request