Workspaces.PostWorkspaceWithHttpMessagesAsync Method (String, Dictionary<String, List<String>>, CancellationToken)

 

Creates a new workspace within a workspace collection

Namespace:   Microsoft.PowerBI.Api.Beta
Assembly:  Microsoft.PowerBI.Api (in Microsoft.PowerBI.Api.dll)

Syntax

public Task<HttpOperationResponse<Workspace>> PostWorkspaceWithHttpMessagesAsync(
    string workspaceCollectionName,
    Dictionary<string, List<string>> customHeaders = null,
    CancellationToken cancellationToken = null
)

Parameters

  • workspaceCollectionName
    Type: System.String

    The workspace collection name

Return Value

Type: System.Threading.Tasks.Task<HttpOperationResponse<Workspace>>

Implements

IWorkspaces.PostWorkspaceWithHttpMessagesAsync(String, Dictionary<String, List<String>>, CancellationToken)

See Also

Workspaces Class
Microsoft.PowerBI.Api.Beta Namespace

Return to top