Deletes a managed service. This method will change the service to the Soft-Delete state for 30 days. Within this period, service producers may call services.undelete to restore the service. After 30 days, the service will be permanently deleted.
[[["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-05-14 UTC."],[],[],null,["# Method: services.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\nDeletes a managed service. This method will change the service to the `Soft-Delete` state for 30 days. Within this period, service producers may call [services.undelete](/service-infrastructure/docs/service-management/reference/rest/v1/services/undelete#google.api.servicemanagement.v1.ServiceManager.UndeleteService) to restore the service. After 30 days, the service will be permanently deleted.\n\nOperation\\\u003cresponse: google.protobuf.Empty\\\u003e\n\n### HTTP request\n\n`DELETE https://servicemanagement.googleapis.com/v1/services/{serviceName}`\n\nThe URL uses [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 [Operation](/service-infrastructure/docs/service-management/reference/rest/v1/operations#Operation).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/service.management`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]