Requests deletion of a PhoneNumber. The PhoneNumber is moved into the DELETE_REQUESTED state immediately, and is deleted approximately 30 days later. This method may only be called on a PhoneNumber in the ACTIVE state.
Required. The unique identifier of the PhoneNumber to delete. Format: projects/<Project ID>/phoneNumbers/<PhoneNumber ID>. Format: projects/<Project ID>/locations/<Location
ID>/phoneNumbers/<PhoneNumber ID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.phoneNumbers.delete
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PhoneNumber.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-13 UTC."],[[["This document describes how to delete a `PhoneNumber` via an HTTP DELETE request, moving it to a `DELETE_REQUESTED` state before permanent deletion after approximately 30 days."],["The HTTP request URL is in the format `DELETE https://{endpoint}/v2beta1/{name=projects/*/phoneNumbers/*}`, where `{endpoint}` is a supported service endpoint."],["Deleting a `PhoneNumber` requires the `name` path parameter, representing the unique identifier of the `PhoneNumber` to delete, with specific formatting requirements."],["The request body for deleting a `PhoneNumber` must be empty, and the response will contain an instance of `PhoneNumber` if the deletion is successful."],["Deleting a `PhoneNumber` requires specific authorization, needing either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes, and the `dialogflow.phoneNumbers.delete` IAM permission."]]],[]]