Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

Use this Snap to delete the specified data resource from a selected workspace.

...

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream SnapsDescription
Input 

Document

  • Min: 1
  • Max: 1
  • Mapper Snap
  • Copy Snap
A document containing details of the data resource to delete. 
Output

Document

  • Min: 1
  • Max: 1
  • Mapper Snap
  • Copy Snap
A document containing the API response from the server indicating whether the delete operation was a success.

...

Parameter NameData TypeDescriptionDefault ValueExample 
LabelString
Insert excerpt
File Writer
File Writer
nopaneltrue
Power BI DeleteDelete Employee Record
WorkspaceString

Required. Enter the workspace from which to delete the resource. Alternatively, click the Image Modified icon to fetch a list of workspaces associated with the Power BI account and select the workspace. 

My WorkspaceEmployee Records
Entity typeString

Required. Select the entity type to delete.

Available options are:

  • Dataset: Collection of tables from different data sources ready for reporting and visualizations.
  • Report: Interprets findings and insights of a dataset into visuals from varied perspectives.
  • Gateway: Connects Power BI cloud-based analysis service to on-premise data sources.
  • Dataflow: Collection of entities (tables) that you create and manage in workspaces.
DatasetReport
Entity operationString

Select the delete operation to perform. The available options vary upon your configuration of the Entity type field. Alternatively, you can also enter the operation's name manually.

Available options are:

  • Delete Dataset (Entity type: Dataset)
  • Delete Report (Entity type: Report)
  • Delete Datasource User (Entity type: Gateway)
  • Delete Datasource (Entity type: Gateway)
N/ADelete Dataset
Connection details

Use this field set to configure the network connection parameters.

This field set consists of the following fields:

  • Connection timeout
  • Number of retries
  • Retry interval (seconds)

Connection timeout

IntegerRequired. Specify the connection timeout duration in seconds.030

Number of retries

IntegerRequired. Specify the maximum number of re-connections if the connection fails or is timed-out.104

Retry interval (seconds)

IntegerRequired. Specify the interval in seconds between reconnections.1030
Snap ExecutionString

Specifies the execution type:

  • Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.

  • Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.

  • Disabled: Disables the Snap and, by extension, its downstream Snaps.

Execute onlyValidate & Execute

...

ErrorReasonResolution
HTTP Response Exception:400

Invalid OAuth endpoint/token URL.


Verify the values of the OAuth2 endpoint or token URLs in the account settings.

HTTP Response Exception:401Invalid refresh token or access token.

Verify the values of the refresh or access tokens in the account settings.

...