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.undelete
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 API call is used to cancel a deletion request for a \u003ccode\u003ePhoneNumber\u003c/code\u003e that is currently in the \u003ccode\u003eDELETE_REQUESTED\u003c/code\u003e state.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request for this operation is a \u003ccode\u003ePOST\u003c/code\u003e request to a specific endpoint with a defined URL structure that includes project and phone number identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a path parameter, \u003ccode\u003ename\u003c/code\u003e, which is the unique identifier for the \u003ccode\u003ePhoneNumber\u003c/code\u003e to be undeleted, and the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain an instance of \u003ccode\u003ePhoneNumber\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to perform this action requires specific IAM permissions and one of two OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.phoneNumbers.undelete\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\nCancels the deletion request for a `PhoneNumber`. This method may only be called on a `PhoneNumber` in the [DELETE_REQUESTED](/dialogflow/es/docs/reference/rest/v2beta1/projects.phoneNumbers#LifecycleState.ENUM_VALUES.DELETE_REQUESTED) state.\n\n### HTTP request\n\n`POST https://{endpoint}/v2beta1/{name=projects/*/phoneNumbers/*}:undelete`\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)."]]