TextRequestClient.DeleteGroupAsync(Int32, Int32, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the group with the specified id
public virtual System.Threading.Tasks.Task<string> DeleteGroupAsync(int idOfTheDashboardToMakeThisCallOn, int idOfTheGroup, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteGroupAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.DeleteGroupAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function DeleteGroupAsync (idOfTheDashboardToMakeThisCallOn As Integer, idOfTheGroup As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- idOfTheDashboardToMakeThisCallOn
- Int32
Id of the dashboard to make this call on
- idOfTheGroup
- Int32
Id of the group
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Deletes the group with the specified id response.
Remarks
Deletes the group with the specified id. This will succeed even if there are contacts that are members of the group (the contacts will not be deleted).