added a delete function for the SubscriptionResource
fixed pathparam for delete
adding a rest api and rest impl