{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/service","auth":"required","method":"delete","params":[{"name":"secret","type":"string","default":"d2d1820d56b862a6f5b1a69a7af730fa","desc":"The service secret","required":true,"in":"body","ref":"","_id":"555fb0e628249c1900618a6a"}],"results":{"codes":[{"name":"","code":"{\n\t'status': 'ok'\n}","language":"json","status":200},{"code":"{\n \t'error': {\n    'id': 6,\n   \t'message': 'Service not found',\n  }\n}","language":"json","status":404}]},"settings":""},"next":{"description":"","pages":[]},"title":"Delete a service","type":"endpoint","slug":"delete-a-service","excerpt":"This will unsubscribe all listeners","body":"Deletes a service, this will unsubscribe all subscribed clients from the service. Make sure you think long and hard before doing this.","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"555fb0e628249c1900618a69","editedParams2":true,"user":"555f9a010758330d000d531a","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["555f9bf814d68e0d0096658b","555f9e9ed7777119003acfee","555fa040d7777119003acffd","555fa344d7777119003ad00b","555fa3e6d7777119003ad00f","555fb694336c041700a9b86e","555fb779336c041700a9b86f","555fb86bd7777119003ad039","555fbf1a336c041700a9b87f"],"_id":"555f9bf814d68e0d0096658a","project":"555f9bf814d68e0d00966587","releaseDate":"2015-05-22T21:13:28.470Z","__v":9,"createdAt":"2015-05-22T21:13:28.470Z"},"__v":0,"editedParams":true,"githubsync":"","parentDoc":null,"createdAt":"2015-05-22T22:42:46.258Z","category":{"sync":{"isSync":false,"url":""},"pages":["555faf45d7777119003ad029","555fb0a3336c041700a9b862","555fb0e628249c1900618a69","565e23348f048c2100442a22"],"title":"Service","slug":"service","order":2,"from_sync":false,"reference":false,"_id":"555fa3e6d7777119003ad00f","createdAt":"2015-05-22T21:47:18.114Z","__v":4,"project":"555f9bf814d68e0d00966587","version":"555f9bf814d68e0d0096658a"},"project":"555f9bf814d68e0d00966587"}

deleteDelete a service

This will unsubscribe all listeners

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

secret:
required
stringd2d1820d56b862a6f5b1a69a7af730fa
The service secret

Result Format


Documentation

Deletes a service, this will unsubscribe all subscribed clients from the service. Make sure you think long and hard before doing this.

User Information

Try It Out

delete
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}