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-06-27 UTC."],[[["\u003cp\u003eThis endpoint allows for the deletion of a \u003ccode\u003ePhoneNumber\u003c/code\u003e, which will be moved to the \u003ccode\u003eDELETE_REQUESTED\u003c/code\u003e state and permanently deleted after approximately 30 days.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003eDELETE\u003c/code\u003e method with a specific URL structure that includes path parameters to identify the \u003ccode\u003ePhoneNumber\u003c/code\u003e to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a \u003ccode\u003ePhoneNumber\u003c/code\u003e requires the \u003ccode\u003edialogflow.phoneNumbers.delete\u003c/code\u003e IAM permission on the specified resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for deleting a \u003ccode\u003ePhoneNumber\u003c/code\u003e must be empty, and upon success, the response body will contain an instance of \u003ccode\u003ePhoneNumber\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.phoneNumbers.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRequests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the [DELETE_REQUESTED](/dialogflow/es/docs/reference/rest/v2beta1/projects.phoneNumbers#LifecycleState.ENUM_VALUES.DELETE_REQUESTED) state immediately, and is deleted approximately 30 days later. This method may only be called on a `PhoneNumber` in the [ACTIVE](/dialogflow/es/docs/reference/rest/v2beta1/projects.phoneNumbers#LifecycleState.ENUM_VALUES.ACTIVE) state.\n\n### HTTP request\n\n`DELETE https://{endpoint}/v2beta1/{name=projects/*/locations/*/phoneNumbers/*}`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/es/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [PhoneNumber](/dialogflow/es/docs/reference/rest/v2beta1/projects.phoneNumbers#PhoneNumber).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]