v1Resources/Locations/deleteRemove a service

Remove a service

Removes one service by name and re-publishes the remaining list to Google.

delete/api/v1/locations/{id}/services
locations:write
Query parameters
idstringrequired
namestringrequired
Exact name of the service to remove.
Response
dataobjectoptional
servicesarray of objectoptional
namestringrequired
Service name.
descriptionstringoptional
Service description.
pricenumberoptional
Service price.
currencystringoptional
Currency code for the price.
googleServiceTypeIdstringoptional
Google's structured service-type id, if matched to one.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
delete/api/v1/locations/{id}/services
Your API key
id *
name *
{
  "data": {
    "services": []
  }
}