PhoneNumbersClient.DeleteReservation(Guid, 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 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.