(self, service_id)
return {'status': 'ok'}
Returns DELETE service with response json.

        :return: a JSON-serializable dictionary matching the format of the JSON
                 response for fastly_client.delete_service()
                 ("/service/%s") request.
Returns DELETE service with response json.
Returns DELETE service with response json .
def delete_service(self, service_id):
        """
        Returns DELETE service with response json.

        :return: a JSON-serializable dictionary matching the format of the JSON
                 response for fastly_client.delete_service()
                 ("/service/%s") request.
        """
        service_name = self.fastly_cache[service_id]['service_name']
        del(self.fastly_cache[service_id])
        del(self.fastly_cache[service_name])

        return {'status': 'ok'}
def delete_service ( self , service_id ) : service_name = self . fastly_cache [ service_id ] [ 'service_name' ] del ( self . fastly_cache [ service_id ] ) del ( self . fastly_cache [ service_name ] ) return { 'status' : 'ok' }