Function getDataFilesDeletes

  • Use this operation to retrieve records of data files and folders deleted within a given time range, across all spaces in the tenant. Use deleteStartDate and deleteEndDate to constrain the results to a specific window. This operation requires elevated service-to-service privileges.

    Parameters

    • query: {
          allowInternalFiles?: boolean;
          deleteEndDate?: string;
          deleteStartDate?: string;
          includeFolders?: boolean;
          limit?: number;
          page?: string;
          sort?: GetDataFileDeleteRecordsSortField;
      }

      an object with query parameters

      • OptionalallowInternalFiles?: boolean

        If set to false, do not return data files with internal extensions else return all the data files.

      • OptionaldeleteEndDate?: string

        If specified, the returned list will only include data files and folders that have been deleted prior to the specified date (inclusive).

      • OptionaldeleteStartDate?: string

        If specified, the returned list will only include data files and folders that have been deleted since the specified date (inclusive).

      • OptionalincludeFolders?: boolean
      • Optionallimit?: number
      • Optionalpage?: string
      • Optionalsort?: GetDataFileDeleteRecordsSortField

        The name of the field used to sort the result. By default, the sort order is ascending. Putting a '+' prefix on the sort field name explicitly indicates ascending sort order. A '-' prefix indicates a descending sort order.

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetDataFilesDeletesHttpResponse>

    getDataFilesDeletes(
    {
    allowInternalFiles: false,
    deleteEndDate: "2020-07-07T20:52:40.8534780Z",
    deleteStartDate: "2020-07-07T20:52:40.8534780Z",
    includeFolders: false,
    limit: 5,
    page: "NzlmNzI5NWMtZGJlZC00Y2Y4LThkNDAtMzQ5ZDU3YzNjMzQ1"
    }
    )

    GetDataFilesDeletesHttpError