PhoneNumbersClient.DeleteReservation(Guid, CancellationToken) Method

Definition

Deletes the reservation with the given ID. Any phone number in the reservation will be released and made available for others to purchase. Only active reservations can be deleted.

public virtual Azure.Response DeleteReservation(Guid reservationId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteReservation : Guid * System.Threading.CancellationToken -> Azure.Response
override this.DeleteReservation : Guid * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteReservation (reservationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

reservationId
Guid

The ID of an existing reservation to delete.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to