You are here

function services_endpoint_delete in Services 7.3

Same name and namespace in other branches
  1. 6.3 services.module \services_endpoint_delete()

Remove an endpoint.

Return value

void

File

./services.module, line 470
Provides a generic but powerful API for web services.

Code

function services_endpoint_delete($endpoint) {
  ctools_include('export');
  ctools_export_crud_delete('services_endpoint', $endpoint);
  ctools_export_load_object_reset('services_endpoint');
  menu_rebuild();
  cache_clear_all('services:' . $endpoint->name . ':', 'cache', TRUE);
}