Edit Semantic Model - Deletes an existing relationship between two tables in a Power BI dataset within a specific workspace

Deletes an existing relationship between two tables in a Power BI dataset within a specific workspace.

delete
Authorizations
Path parameters
workspaceIdstringRequired

Enter ID of the workspace for which the theme details are requested.

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
versionstringOptional

The requested API version

Default: 1.0
Header parameters
embedfast-user-idstringOptional

Optional User Id

Body

Represents a model for defining a relationship between tables in a Power BI dataset.

toTableNamestring | nullableOptional

The name of the table on the "To" side of the relationship.

toColumnNamestring | nullableOptional

The name of the column on the "To" side of the relationship.

fromTableNamestring | nullableOptional

The name of the table on the "From" side of the relationship.

fromColumnNamestring | nullableOptional

The name of the column on the "From" side of the relationship.

Responses
200

Success: The relationship was deleted successfully.

No content

delete
DELETE /workspace/{workspaceId}/dataset/{datasetId}/relationship HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 91

{
  "toTableName": "text",
  "toColumnName": "text",
  "fromTableName": "text",
  "fromColumnName": "text"
}

No content

Last updated