fix wrong uri in delete sensor category
add support for deleting a deviceType