TextRequestClient.CreateDashboardAsync Method

Definition

Create a new dashboard with the given name and phone number

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.CreateDashboardResponse> CreateDashboardAsync(Azure.Connectors.Sdk.TextRequest.Models.CreateDashboardInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateDashboardAsync : Azure.Connectors.Sdk.TextRequest.Models.CreateDashboardInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.CreateDashboardResponse>
override this.CreateDashboardAsync : Azure.Connectors.Sdk.TextRequest.Models.CreateDashboardInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.CreateDashboardResponse>
Public Overridable Function CreateDashboardAsync (input As CreateDashboardInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateDashboardResponse)

Parameters

input
CreateDashboardInput

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Create a new dashboard with the given name and phone number response.

Remarks

Creates a new dashboard in the account. Once the dashboard is created, admins will be emailed about the change and can begin assigning users. This endpoint can make a dashboard for any provisioned numbers. You can search for provisioned numbers in a specific area code using GET /dashboards/provisioning. If the phone number is already in use, a Bad Request exception will be thrown.

Applies to